tomcat运行出错,大佬们帮帮忙

严重: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/brainstormingblogs]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1129)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1871)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
大佬们帮帮忙
如何使用遗传算法解决球面均匀分布的问题。
优化!大佬们帮帮忙!
存储过程:rn[code=text]rntblName="(select jlls.*,jllsfb.CLH,jllsfb.CZCLH,jllsfb.CZJE,jllsfb.CZYID,case jym.XSFX when 0 then jfsu.name else dfsu.name end yhmc, case jym.XSFX when 0 then jfsu.user_no else dfsu.user_no end yhbh,case jym.XSFX when 0 then jfdept.name else dfdept.name end bmmc, case jym.XSFX when 0 then jlls.JFZHJE else jlls.DFZHJE end zhje,case jym.XSFX when 0 then jlls.JFKYE else jlls.DFKYE end kye, case jym.XSFX when 0 then jfzh.FHZZH else dfzh.FHZZH end khzh,case jym.XSFX when 0 then jfzhfb.ZHMC else dfzhfb.ZHMC end zhmc,supersu.user_no suno, supersu.name suname, jym.JYMMC,sbxx.SBMC from T_Z_JLLSTMP jlls inner join T_Z_JYM jym on jlls.JYMID = jym.id left join T_Z_JLLSFB jllsfb on jlls.id = jllsfb.CLH left join sys_user supersu on jllsfb.CZYID = supersu.id left join T_Z_ZH jfzh on jlls.JFKHZHID = jfzh.id left join sys_user jfsu on jfzh.YHID = jfsu.id left join sys_dept jfdept on jfsu.dept_id = jfdept.id left join T_Z_ZH dfzh on jlls.DFKHZHID = dfzh.id left join sys_user dfsu on dfzh.YHID = dfsu.id left join sys_dept dfdept on dfsu.dept_id = dfdept.id left join T_Z_ZHFB dfzhfb on dfzh.id=dfzhfb.ZHID left join T_Z_ZHFB jfzhfb on jfzh.id= jfzhfb.ZHID left join T_D_SBXX sbxx on sbxx.id =jlls.SBID) jl"rnrnfieldname="id,ZT,yhbh,yhmc,bmmc,zhmc,JYMMC,RQ_UINT,SJCZRQ_UINT,ZT,XKZT,FSJE,kye,zhje,LJJYXH_SHORT,TJJYXH_SHORT,suname,SBMC"rnrnOrderField=" id desc"rnrnPageSize=20rnrnstrWhere=" 1=1 and jl.org_id=70 "rnrn[/code]rn[code=sql]CREATE PROCEDURE [dbo].[UP_GetRecordByPageNewBB] rn @tblName varchar(2000), --表名rn @fieldName varchar(2000) = '*', --字段名(全部字段为*)rn @OrderField varchar(1000), --排序字段(必须!支持多字段)rn @PageSize int, --每页多少条记录rn @PageIndex int = 1 , --指定当前为第几页rn @strWhere varchar(2000) = Null, --条件语句(不用加where)rn @GroupField varchar(1000) --分组字段(必须!支持多字段)rnASrnBEGINrn rn Begin Tran --开始事务rn declare @TotalPage int;rn declare @totalRecord int;rn declare @totalMoney money;rn Declare @sql nvarchar(4000); rnrn --计算总页数rn if (@strWhere='' or @strWhere=NULL)rn set @sql = 'select @totalRecord = count(*),@totalMoney = sum(fsje) from ' + @tblNamern elsern set @sql = 'select @totalRecord = count(*),@totalMoney = sum(fsje) from ' + @tblName + ' where ' + @strWherernrn EXEC sp_executesql @sql,N'@totalRecord int OUTPUT,@totalMoney money OUTPUT',@totalRecord OUTPUT,@totalMoney OUTPUT--计算总记录数 rn select @TotalPage=CEILING((@totalRecord+0.0)/@PageSize)rnrn rn set @sql=' Select '+@fieldName+' FROM '+@tblName+' where id in ( 'rn rn if (@strWhere='' or @strWhere=NULL)rn set @sql+='select id from (select ROW_NUMBER() Over(order by '+@OrderField+') as rowId, jl.* from '+@tblName+' ) as t 'rn rn elsern set @sql+='select id from (select ROW_NUMBER() Over(order by '+@OrderField+') as rowId, jl.* from '+@tblName+' where '+@strWhere+') as t 'rn rn --处理页数超出范围情况rn if @PageIndex<=0 rn Set @pageIndex = 1 rn if @pageIndex>@TotalPagern Set @pageIndex = @TotalPagernrn --处理开始点和结束点rn Declare @StartRecord intrn Declare @EndRecord intrn rn set @StartRecord = (@pageIndex-1)*@PageSize + 1rn set @EndRecord = @StartRecord + @pageSize - 1rn --继续合成sql语句rn set @Sql = @Sql + ' where rowId between ' + Convert(varchar(50),@StartRecord) + ' and ' + Convert(varchar(50),@EndRecord)rn set @sql= @sql+' ) group by '+@GroupField+' order by '+@OrderField+''rn rn print @sql rn Exec(@Sql)rn ---------------------------------------------------rn --计算总记录数rn --if (@strWhere='' or @strWhere=NULL)rn --set @sql = 'select count(*) from ' + @tblNamern --elsern --set @sql = 'select count(*) from ' + @tblName + ' where ' + @strWherern --EXEC (@sql)rn select @totalRecord,@totalMoneyrnrn If @@Error <> 0rn Beginrn RollBack Tranrn Endrn Elsern Beginrn Commit Tranrn End rnEND[/code]rnrnsql语句执行计划rn[img=https://img-bbs.csdn.net/upload/201710/31/1509417677_347022.png][/img]rnrn索引:rn[img=https://img-bbs.csdn.net/upload/201710/31/1509417848_255786.png][/img]rnrn要怎么优化这个存储过程,首先要优化的是存储过程中计算总页数与计算总记录数 。然后要如何提升整体速率,已经做了分页处理。应该主要是计算总页数与记录数的耗时太久。
初学api,画边框也出错,大佬们帮帮忙啊
以下是wndproc的源码,window style包含了WM_OWNDCrn[code=C/C++][/code]rnLRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)rnrn char exam[100];rn int wmId, wmEvent;rn PAINTSTRUCT ps;rn HDC hdc;rn static RECT fr;rn static POINT p;rn switch (message)rn rn case WM_SIZE:rn p.x=LOWORD(lParam);rn p.y=HIWORD(lParam);rn hdc = BeginPaint(hWnd, &ps);rn SetMapMode(hdc,MM_ISOTROPIC);rn SetWindowExtEx(hdc,lcxmax,lcymax,0);rn SetViewportExtEx(hdc,p.x,p.y,0);rn fr.top=0;rn fr.left=0;rn DPtoLP(hdc,&p,1);rn fr.bottom=p.y;rn fr.right=p.x;rn EndPaint(hWnd, &ps);rn break;rn case WM_COMMAND:rn wmId = LOWORD(wParam);rn wmEvent = HIWORD(wParam);rn case WM_PAINT:rn hdc = BeginPaint(hWnd, &ps);rn EndPaint(hWnd, &ps);rn hdc=GetDC(hWnd);rn //Rectangle(hdc,fr.left,fr.top,fr.right,fr.bottom);rn FrameRect(hdc,&fr,CreateSolidBrush(RGB(128,256,128)));rn ReleaseDC(hWnd,hdc);rn break;rn case WM_DESTROY:rn PostQuitMessage(0);rn break;rn default:rn return DefWindowProc(hWnd, message, wParam, lParam);rn rn return 0;rn[code=C/C++][/code]rn有时有边框有时又没有,有时会出现杂纹,而且边框也不总是贴紧窗口边框的
大佬们
子类对象能直接向其父类赋值,父类对象不能向其子类赋值。如何理解这句话呀[face]monkey:2.gif[/face]
考试题目 在线请求大佬们 帮帮忙
1)包含类的封装,getter/setter方法。n2)包含构造方法和构造方法的重载。n3)包含继承,方法重写。n4)包含抽象类和接口。n5)包含异常处理机制。n6)包含自定义异常。n7)包含super,final关键字。n8)包含多态。n9)包含4个字符串处理方法。n10)包含包装类的使用 n 谢谢大佬们n 是java的 大一的内容
大佬们帮帮忙。。在线等很急。。
rn $file_name = $sql_arr['file_name'];rn rn echo '相关材料';rnrn 就是从数据库里面读出文件的名字到$file_name里面,然后把读到的文件名传到download.php里面实现文件的下载。但是会有很多问题。echo里面的$file_name不是我从数据库里面读出来的。应该怎么写啊,改了半天了。都不行。好烦啊[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/126.gif][/img]rnrn
大佬们,帮帮忙解决一下,谢谢
这个问题怎么解决,帮帮忙,谢谢
大佬们,帮帮忙,这个怎么错了
#includernusing namespace std;rnclass CCarrnrn //成员数据rnprivate:rn int number;rn int color;rn int v;rn //共享数据rnpublic:rn void add()rn rn v+=5;rn rn void setv(int a)rn rn v=a;rn rn;rnvoid main()rnrn CCar CarA;rn cout<
大佬们帮帮忙,这个问题怎么解决
Microsoft VBScript 编译器错误 错误 '800a03f6' rnrn缺少 'End' rnrn/iisHelp/common/500-100.asp,行242 rnrnMicrosoft OLE DB Provider for ODBC Drivers 错误 '80040e14' rnrn[Microsoft][ODBC Microsoft Access Driver] INSERT INTO 语句的语法错误。 rnrn/cc/admin/crwx_submit.asp,行94 rnrnrnrn上面这个是出错提示
Java新手求助!!!大佬们帮帮忙
子类继承父类时,父类中 方法体 中的语句可以省略吗?????
用过 ireport、jasperreport 的报表大佬们,帮帮忙
做报表的时候遇到个难题rn大概的需求是,报表[b][color=#FF0000]行头[/color][/b]按公司名称排序(一公司,二公司,三公司....这个已经解决),rn报表的[color=#FF0000][b]列头[/b][/color]按时间先后排序,这个一直没法解决rn网上查了,有人说ireport排序是根据ASCII码的,我在数据的前面加了英文字母 也没有效果rnrn下面是查询 拼接 出来的数据rn[img=https://img-bbs.csdn.net/upload/201804/16/1523850124_303930.png][/img]rnrn下面是报表(列头,日期没有按照ASCII 顺序排,目前的顺序就是我查询出来的结果的顺序)rn[img=https://img-bbs.csdn.net/upload/201804/16/1523850196_140995.png][/img]rnrn另一种解决方式,但是不知道怎么写,有没有可以参考的例子rn[img=https://img-bbs.csdn.net/upload/201804/16/1523852488_908012.png][/img]rnrn求大佬们指教[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/3.gif][/img]
大佬们帮帮忙,关于dll加载的
求用以下一个或多个函数实现的dll加载的完整出来!rn怼这几个函数怼了一个晚上还是没能正确加载dllrn不要跟我说系统目录或者path之类的,我要的就是和main.exe在不同目录下的加载rn[code=c]rnSetDllDirectory()rnLoadLibrary()rnLoadLibraryEx()rn[/code]rn网上都只是说这几个函数怎么用的,但是没有一个完整的代码!rn我自己怎么写都没对,只好来问问你们了rn希望能给个完整的代码出来rn
大佬帮帮忙!!!
[img=https://img-bbs.csdn.net/upload/201703/16/1489655413_697471.png][/img]rn帮忙分析下
tomcat运行出错
严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListenerrnjava.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;rn at com.sun.faces.config.WebConfiguration.getServletContextName(WebConfiguration.java:221)rn at com.sun.faces.config.WebConfiguration.(WebConfiguration.java:82)rn at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:152)rn at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:279)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2012-3-21 22:52:50 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2012-3-21 22:52:50 org.apache.catalina.core.StandardContext startrn严重: Context [/WebProject] startup failed due to previous errorsrn2012-3-21 22:52:51 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-80rn2012-3-21 22:52:51 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2012-3-21 22:52:51 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/66 config=nullrn2012-3-21 22:52:51 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2385 msrn运行一次tomcat就关闭
tomcat运行突然出错
tomcat启动正常,但是一使用工程的登录就出错,报错如下:rn#rn# An unexpected error has been detected by HotSpot Virtual Machine:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d375018, pid=1844, tid=1772rn#rn# Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode)rn# Problematic frame:rn# C [java.dll+0x5018]rn#rn# An error report file with more information is saved as hs_err_pid1844.logrn#rn# If you would like to submit a bug report, please visit:rn# http://java.sun.com/webapps/bugreport/crash.jsprn#rnDisconnected from serverrnrnjdk1.5.0_05rnMySQL Server 5.0rnapache-tomcat-5.5.15
eclipse+ tomcat 运行出错
我用的是eclipse3.2 + tomcat5.0 + lomboz3.2rn插件参数按网上教材都已经设置好rnrn新建一个test.jsp文件rn但是在eclipse内启动tomcat,在用浏览器打开文件出现错误rnrn如果不在eclipse内启动,而是直接用tomcat的startup启动则一切正常rnrn关闭tomcat,再次在eclipse内启动,又能正常打开了。。。。rnrn应该是eclipse里哪个参数没设好rn但找了N久就是找不到哪里-_-!rn高手们救命啊rnrn=================================================================rn浏览器显示错误信息:rnrnorg.apache.jasper.JasperException: Unable to compile class for JSPrnrnNo Java compiler was found to compile the generated source for the JSP. rnThis can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK rnto the common/lib directory of the Tomcat server, followed by a Tomcat restart. rnIf using an alternate Java compiler, please check its installation and access path.rnrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:306)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:398)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:441)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:507)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rnrnrnrn=================
TOMCAT 运行出错
小弟最近用eclipse装tomcat,对于tomcat的配置不是很清楚,使了很多次,出现以下问题rn请各位仁兄赐教rnstartrn找不到 StandardContext.start() 行: 4097 的源rn控制台rn2006-3-4 12:12:07 org.apache.coyote.http11.Http11Protocol initrn严重: Error initializing endpointrnjava.net.BindException: Address already in use: JVM_Bind:8888rn at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:306)rn at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:184)rn at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1445)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:648)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2416)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:545)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)rn2006-3-4 12:12:07 org.apache.catalina.startup.Catalina loadrn严重: Catalina.startrnLifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8888rn at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1447)rn at org.apache.catalina.core.StandardService.initialize(StandardService.java:648)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2416)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:545)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)rn2006-3-4 12:12:07 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 2344 msrn2006-3-4 12:12:07 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2006-3-4 12:12:07 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.0.19rn2006-3-4 12:12:07 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2006-3-4 12:12:07 org.apache.catalina.core.StandardHost getDeployerrn信息: Create Host deployer for direct deployment ( non-jmx ) rn2006-3-4 12:12:07 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:H:\eclipse\Tomcat 5.0\conf\Catalina\localhost\admin.xmlrn
Tomcat启动报错,求各位大佬帮帮忙!
![图片说明](https://img-ask.csdn.net/upload/201710/13/1507869800_529046.png)
Tomcat运行出错
tomcat7.0 运行 就报错! 但是在MyEclipse 集成tomcat7.0和配置到MyEclipse的tomcat7.0 就不报错 完美运行rnEncountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/iWebSite]]
ssm整合出错 帮帮我大佬们
错误:Error creating bean with name 'ClassPoServiceIm': Injection of autowired dependencies failed; rnnested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private ssm.mapper.dao.ClassPoMapperCustom ssm.service.ClassPoServiceIm.ClassPoMapperCustom; rnnested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'classPoMapperCustom' defined in file [D:\tomcat8.5.16\webapps\SSM\WEB-INF\classes\ssm\mapper\dao\ClassPoMapperCustom.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; rnnested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'sqlSessionFactory' is definedrnrn[img=https://img-bbs.csdn.net/upload/201708/14/1502716731_210436.png][/img] 目录结构rn[img=https://img-bbs.csdn.net/upload/201708/14/1502716765_20433.png][/img]web.xmlrn[img=https://img-bbs.csdn.net/upload/201708/14/1502716783_573685.png][/img]rn[img=https://img-bbs.csdn.net/upload/201708/14/1502716799_288003.png][/img]springmvc.xmlrn[img=https://img-bbs.csdn.net/upload/201708/14/1502716821_365201.png][/img]servicern[img=https://img-bbs.csdn.net/upload/201708/14/1502716867_213757.png][/img]Controllerrn[img=https://img-bbs.csdn.net/upload/201708/14/1502716915_461111.png][/img]applicationrn[img=https://img-bbs.csdn.net/upload/201708/14/1502716934_149215.png][/img]rn[img=https://img-bbs.csdn.net/upload/201708/14/1502716946_590061.png][/img]
小白运行Scrapy出错,求大佬指教!!!!!!!!!!!!!!
import scrapy # 需要继承scrapy.Spider类 class mingyan(scrapy.Spider): name = &quot;mingyan2&quot; # 定义蜘蛛名 def start_requests(self): # 由此方法通过下面链接爬取页面 # 定义爬取的链接 urls = [ 'htt...
c语言 运行出错 求大佬帮忙
#include n#includen#includen#includenn//定义全局变量nint isEmpty=0;//标志,判断链表是否为空 nn//!!!定义单链表结构体!!! ntypedef struct Noden int NUM;//类型总数 n char NAME[100];//各类型名称 n int num; //各类型下的货物总数n struct Node*next;nNode;nn//函数声明 nNode*create(int n,Node*L);nNode*input(Node*L);nNode*output(Node*L);nNode*outnum(Node*L);nNode*outname(Node*L);nNode*current(Node*L);nvoid search(Node*L);nvoid print(Node*L);nvoid searchnum(Node*L);nvoid searchname(Node*L);nvoid display(Node*L);n//========新增加的函数========nNode*append(Node*L); nn//主函数nvoid main()nn int x;n int n;//初次输入的大小 n Node *L;n if(!(L=(Node *)malloc(sizeof(Node)))) //分配空间n n printf("\n");n exit(1);n n n printf("欢迎使用我的仓库管理系统!\n"); n while(1);n n //主菜单开始 n printf("==========================\n");n printf("1.显示货物类型列表\n");n printf("2.增加货物类型\n");n printf("3.删除货物类型\n");n printf("4.货物入库\n");n printf("5.货物出库\n");n printf("6.库存显示\n");n printf("7.退出\n");n printf("==========================\n");n //主菜单结束n printf("选择1-7:");n scanf("%d",&x); n switch(x)n n case 1:;break;n case 2:create(n,L);break;n case 3:;break;n case 4:;break;n case 5:;break;n case 6:;break;n case 7:;break;n default:printf("input error!\nplaese input1-7");n n n nnnnnn//函数n//1.创建链表节点nNode*create(int n,Node*L)nn Node*pTail=L; n L->next=NULL;n Node*p;n p=(Node*)malloc(sizeof(Node));n if(p==NULL)n n printf("申请内存空间失败!\n");n n //利用尾插建立单链表 n int i;n for(i=1;i<=n;i++)n n printf("请输入第%d种类型编号:\n",i);n scanf("%d",&p->NUM);n printf("请输入第%d种类型名称:\n",i);n scanf("%s",&p->NAME);n printf("请输入第%d种类型库存:\n",i);n scanf("%d",&p->num);n pTail->next=p;n pTail=p;n n p->next=NULL;n return L; n n![图片说明](https://img-ask.csdn.net/upload/201805/28/1527489393_274380.png)n欢迎下面就运行不了了
运行一个jsp是出错,求大侠们帮帮忙
HTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: Unable to compile class for JSP: rnrnAn error occurred at line: 6 in the jsp file: /DisplayCourse.jsprncheckEnrol cannot be resolved to a typern3: rn4: 选报课程rn5: rn6: rn7: rn8: rn9: 您可以选报的课程为 rnrnrnAn error occurred at line: 6 in the jsp file: /DisplayCourse.jsprncheckEnrol cannot be resolved to a typern3: rn4: 选报课程rn5: rn6: rn7: rn8: rn9: 您可以选报的课程为 rnrnrnAn error occurred at line: 6 in the jsp file: /DisplayCourse.jsprncheckEnrol cannot be resolved to a typern3: rn4: 选报课程rn5: rn6: rn7: rn8: rn9: 您可以选报的课程为 rnrnrnStacktrace:rn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:326)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/6.0.32
JBOSS运行EJB出错,帮帮忙!
16:12:52,636 INFO [MainDeployer] Starting deployment of package: file:/C:/jbossrn-3.2.3/server/default/deploy/sample.jarrn16:12:55,140 ERROR [MainDeployer] Could not initialise deloyment: file:/C:/jbossrn-3.2.3/server/default/deploy/sample.jarrnorg.jboss.deployment.DeploymentException: www.jboss.org; - nested throwable: (jarnva.net.UnknownHostException: www.jboss.org)rn at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316)rn at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)rn at org.jboss.ejb.EJBDeployer.init(EJBDeployer.java:391)rn at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)rn at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)rn at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)rn at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBearnnDispatcher.java:284)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)rn at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)rn at $Proxy6.deploy(Unknown Source)rn at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymenrntScanner.java:302)rn at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentSrncanner.java:476)rn at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.rndoScan(AbstractDeploymentScanner.java:201)rn at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(ArnbstractDeploymentScanner.java:274)rn at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1rn92)rn at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBearnnDispatcher.java:284)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)rn at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControlrnler.java:976)rn at $Proxy0.start(Unknown Source)rn at org.jboss.system.ServiceController.start(ServiceController.java:394)rn at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBearnnDispatcher.java:284)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)rn at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)rn at $Proxy4.start(Unknown Source)rn at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)rn at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)rn at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)rn at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)rn at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.rnjava:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBearnnDispatcher.java:284)rn at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)rn at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)rn at $Proxy5.deploy(Unknown Source)rn at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)rn at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)rn at org.jboss.Main.boot(Main.java:150)rn at org.jboss.Main$1.run(Main.java:395)rn at java.lang.Thread.run(Thread.java:536)rnCaused by: java.net.UnknownHostException: www.jboss.orgrn at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:143)rn at java.net.Socket.connect(Socket.java:425)rn at java.net.Socket.connect(Socket.java:375)rn at sun.net.NetworkClient.doConnect(NetworkClient.java:139)rn at sun.net.www.http.HttpClient.openServer(HttpClient.java:366)rn at sun.net.www.http.HttpClient.openServer(HttpClient.java:582)rn at sun.net.www.http.HttpClient.(HttpClient.java:292)rn at sun.net.www.http.HttpClient.(HttpClient.java:253)rn at sun.net.www.http.HttpClient.New(HttpClient.java:321)rn at sun.net.www.http.HttpClient.New(HttpClient.java:306)rn at sun.net.www.http.HttpClient.New(HttpClient.java:301)rn at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnernction.java:463)rn at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnectionrn.java:454)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConrnnection.java:556)rn at java.net.URL.openStream(URL.java:955)rn at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.rnjava:740)rn at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManagrner.java:700)rn at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerrnImpl.java:258)rn at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(rnXMLDocumentScannerImpl.java:811)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMrnLDocumentFragmentScannerImpl.java:333)rn at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPrnarserConfiguration.java:529)rn at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardPrnarserConfiguration.java:585)rn at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)rn at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221)rn at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.rnjava:201)rn at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)rn ... 50 more
DTS运行出错??大虾帮帮忙!
DTSRun: 正在装载... rn rn错误: -2147217900 (80040E14); 提供程序错误: 14262 (37B6) rn 字符串错误: 指定的 DTS 包('名称 = 'SqlServerToSqlServer'; ID.VersionID = [未指定].[未指定]')不存在。 rn 错误源: Microsoft OLE DB Provider for SQL Server rn 帮助文件: rn 帮助上下文: 0 rn rnNULLrn
GetProcesses() 运行出错!!大家帮帮忙!!
我用System.Diagnostics.Process.GetProcesses()列出当前所有进程 程序出错,rn提示:‘进程性能计数器已禁用,因此无法执行所请求的操作。’rn请问这是为什么?怎么启用进程性能计数器?
运行 tomcat 时Eclipse 出错
从eclipse启动tomcat,以前一直没问题的rn运行项目,结果eclipse 报错跳在 Truetypefont.class,source not found.the jar file rt.jar has no source attachmentrnrnrn急求解决方法 不要重装之类的回答rnrn
myeclipse配置tomcat,运行出错
2010-1-11 17:21:45 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_11\bin;C:\Tomcat 5.5\binrn2010-1-11 17:21:45 org.apache.coyote.http11.Http11BaseProtocol initrn信息: 初始化 Coyote HTTP/1.1:http-80rn2010-1-11 17:21:45 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 532 msrn2010-1-11 17:21:45 org.apache.catalina.core.StandardService startrn信息: 启动Catalina服务rn2010-1-11 17:21:45 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.20rn2010-1-11 17:21:45 org.apache.catalina.core.StandardHost startrn信息: XML文件的有效性检测被停用rnlog4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).rnlog4j:WARN Please initialize the log4j system properly.rn2010-1-11 17:21:46 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2010-1-11 17:21:46 org.apache.catalina.core.StandardContext startrn严重: 因为前面的错误无法启动上下文rn2010-1-11 17:21:47 org.apache.coyote.http11.Http11BaseProtocol startrn信息: 启动 Coyote HTTP/1.1:http-80rn2010-1-11 17:21:47 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2010-1-11 17:21:47 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/47 config=nullrn2010-1-11 17:21:47 org.apache.catalina.storeconfig.StoreLoader loadrn信息: Find registry server-registry.xml at classpath resourcern2010-1-11 17:21:47 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2140 msrnrnrnrn2010-1-11 17:21:46 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2010-1-11 17:21:46 org.apache.catalina.core.StandardContext startrn严重: 因为前面的错误无法启动上下文 rnrn该怎样解决,大侠们救救急啊!rn
Tomcat 4.1运行出错(紧急)
Tomcat 4.1运行,出现错误如下:服务器只运行有SQL SERVER,不知怎样才能找到错误所在?rnrnUsing CATALINA_BASE: ..rnUsing CATALINA_HOME: ..rnUsing CATALINA_TMPDIR: ..\temprnUsing JAVA_HOME: E:\j2sdk1.4.2_04\rn2006-3-9 21:29:52 org.apache.coyote.http11.Http11Protocol initrn严重: Error initializing endpointrnjava.net.BindException: Address already in use: JVM_Bind:80rn at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoirnnt.java:264)rn at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)rnrn at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.rnjava:1238)rn at org.apache.catalina.core.StandardService.initialize(StandardService.jrnava:532)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.javrna:2199)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:462)rn at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)rn at org.apache.catalina.startup.Catalina.process(Catalina.java:129)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.rnjava:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)rnCatalina.start: LifecycleException: Protocol handler initialization failed: javrna.net.BindException: Address already in use: JVM_Bind:80rnLifecycleException: Protocol handler initialization failed: java.net.BindExceptrnion: Address already in use: JVM_Bind:80rn at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.rnjava:1240)rn at org.apache.catalina.core.StandardService.initialize(StandardService.jrnava:532)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.javrna:2199)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:462)rn at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)rn at org.apache.catalina.startup.Catalina.process(Catalina.java:129)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.rnjava:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)rnCatalina.stop: LifecycleException: This server has not yet been startedrnLifecycleException: This server has not yet been startedrn at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2166rn)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:494)rn at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)rn at org.apache.catalina.startup.Catalina.process(Catalina.java:129)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.rnjava:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)rnrn
运行tomcat出错,大家看看
你好:rn 按照说明,我安装和配置了tomcat,可是当我运行是报错:rn找不到文件“-Djava.endorsed.dirs=”(或它的组件之一)。请确定路径和文件名rn是否正确,而且所需的库文件均可用。rn它是什么?如何修改。谢谢rn
xml在tomcat里运行出错
分别是xml文件和提示的错误,项目发布到tomcat上运行成功,添加xml以后出错,应该怎么改?![图片说明](https://img-ask.csdn.net/upload/201504/18/1429362029_313396.png)![图片说明](https://img-ask.csdn.net/upload/201504/18/1429362017_757517.png)n严重: Caught exception while loading file action/Requiredstring-validation.xmlnhttp://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd - Class: sun.net.www.protocol.http.HttpURLConnectionnFile: HttpURLConnection.javanMethod: getInputStream0nLine: 1834 - sun/net/www/protocol/http/HttpURLConnection.java:1834:-1n at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)n at com.opensymphony.xwork2.validator.DefaultValidatorFileParser.parseActionValidatorConfigs(DefaultValidatorFileParser.java:80)n at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:349)n at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildClassValidatorConfigs(AnnotationActionValidatorManager.java:236)n at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildValidatorConfigs(AnnotationActionValidatorManager.java:328)n at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:76)n at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:115)n at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:107)n at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.validate(AnnotationActionValidatorManager.java:102)n at com.opensymphony.xwork2.validator.ValidationInterceptor.doBeforeInvocation(ValidationInterceptor.java:222)n at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:261)n at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)n at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)n at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)n at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)n at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)n at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)n at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)n at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)n at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)n at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)n at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)n at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)n at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)n at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)n at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)n at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)n at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)n at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)n at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)n at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)n at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)n at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)n at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)n at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)n at java.lang.Thread.run(Thread.java:745)nCaused by: java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtdn at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1834)n at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)n at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:646)n at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1300)n at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1267)n at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:263)n at com.sun.org.apache.xerces.internal.impl.XMLDocnumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1164)n at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1050)n at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:964)n at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)n at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)n at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)n at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)n at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)n at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)n at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)n at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)n at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333)n at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113)n ... 69 moren
配置tomcat以后,运行出错?
我在配置tomcat以后,运行startup .bat出现如下错误提示:rnyou must set JAVA_HOME TO POINT AT YOUR java Development kit installation。rn注意我的java 环境已经是好的,可以用来编译文件了。rn请帮忙,谢谢!
eclipse配置tomcat后运行出错
本来是想试试eclipse关联tomcat 免得总是去部署 然后随便建了个web及jsp 按网上的方法([url=http://wenku.baidu.com/view/8597b070b52acfc789ebc9c5.html][/url])配置了tomcat后 run on server就出现rn[img=https://img-bbs.csdn.net/upload/201501/06/1420514390_209934.png][/img] rn那就是说tomcat启动出问题了?tomcat本身启动运行是没问题的 估计还是我的配置哪个地方没搞好 可是弄了半天还是不晓得哪里rn控制台报错如下,看了不甚明白,求助rn[img=https://img-bbs.csdn.net/upload/201501/06/1420514517_640510.png][/img]
大佬们,望不吝赐教。
private void Form1_Load(object sender, EventArgs e)rn rn this.Text="动态控件使用示例";rn int num = 1;rn for ( int i=1;i<=3;i++)rn rn for(int j=1;j<=3;j++)rn rn Button btn=new Button();rn btn.Width=24;rn btn.Top = i * 24;rn btn.Left = j * 24 + 50;rn btn.Text = num.ToString();rn Controls.Add(btn);rn //调用方法(控件类的添加方法)将btn对象添加到窗体中rn btn.Click += new EventHandler(btn_Click);rn num = num + 1;rn rn rnrn Label lbl = new Label();rn lbl.Top = 110;rn lbl.Left = 64;rn lbl.Name = "LabelD";rn Controls.Add(lbl);//将lbl对象添加到窗体的指定位置rn rn private void btn_Click(object sender,EventArgs e)rn rn //9个按钮都共享本事件处理程序,sender返回具体是哪个按钮触发了本事件rn Button b = (Button)sender;//声明一个button类型的变量,获取得到本事件的具体按钮rn b.Text = "对";rn [color=#FF0000]Label newlabel = (Label)Controls.Find("labelID", true)[0];rn[/color] //调用controls类的Find方法查找Name属性为“LabeID”的控件rn newlabel.Text = "你单击了" + b.Text + "号按钮";rn rn可以打开运行界面,但是点击生成的button时就会显示下面的东西。rn 发生了 System.IndexOutOfRangeExceptionrn HResult=0x80131508rn Message=索引超出了数组界限。rn Source=WindowsFormsApplication1rn
大佬们,求帮忙
[img=https://img-bbs.csdn.net/upload/201808/30/1535617908_474864.jpg][/img] 这个情况怎么解决啊,求大神们指导,
大佬们,Java代码求教
问题如下:rnrn有一个List< String>类型中有10万个字符串,请写一个Java程序将这些字符串尽量高效地合并成一个字符串。rnrn求问谁可以解决这个问题。
大佬们解析 一下
今天做了个练习:角色关联用户,用角色ID查询该角色是否关联有用户,如果关联该角色不可删除,否则可以删除。 错误如下: 严重: Servlet.service() for servlet [springmvc] in context with path [/MSSM] threw exception [Request processing failed; nested exception is ...
向大佬们请教
最近写一个古诗匹配游戏,大致内容是,同时生成16个picturebox和label,用图片盖住label中显示的古诗,点击图片后图片不可见,若匹配不成功倒计时五秒后会自动可见,若成功,图片与label均不可见,rn [color=#FF0000] 但是,[/color]我在匹配成功一对、两对或几对之后,再点击其他未匹配的图片就可能不会显示label中的内容,但label中的内容确实存在,也能够配对成功,即使是在label内容不可见的情况下。 rn 代码很多行,不知道贴哪一段。
技术前沿的大佬们指点迷津
2年前学了1年Java Web  中间慢慢把java给放下了,想重新捡起来,有什么比较好的前沿技术学习路线啊
大佬们 速来
这是我的jsrn$(function() rn $('#a').on('click', function()rnrn );rn);rnrnrnrnrn这样的情况,怎么样才能让b和c执行同样的这个js呢
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview