eclipse部署一个webService到tomcat报错Server Tomcat v6.0 Server at localhost failed to start. 10
1、单独启动tomcat正常2、发布一个webService到tomcat启动就报错2016-4-1117:13:56org.apache.tomcat.util.dig...
1、单独启动tomcat正常
2、发布一个webService到tomcat启动就报错
2016-4-11 17:13:56 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:PrjWeb01' did not find a matching property.
2016-4-11 17:13:56 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2016-4-11 17:13:56 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 393 ms
2016-4-11 17:13:56 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2016-4-11 17:13:56 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.45
2016-4-11 17:13:57 org.apache.tomcat.util.modeler.Registry registerComponent
严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/PrjWeb01,J2EEApplication=none,J2EEServer=none
java.lang.reflect.InvocationTargetException
。。。
Caused by: java.lang.IllegalArgumentException 展开
2、发布一个webService到tomcat启动就报错
2016-4-11 17:13:56 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:PrjWeb01' did not find a matching property.
2016-4-11 17:13:56 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2016-4-11 17:13:56 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 393 ms
2016-4-11 17:13:56 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2016-4-11 17:13:56 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.45
2016-4-11 17:13:57 org.apache.tomcat.util.modeler.Registry registerComponent
严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/PrjWeb01,J2EEApplication=none,J2EEServer=none
java.lang.reflect.InvocationTargetException
。。。
Caused by: java.lang.IllegalArgumentException 展开
1个回答
展开全部
tomcat中有个修改conf/context.xml文件,在里面新加两个属性. <Context reloadable="true" privileged="true"> <!-- Default set of monitored resources --> <WatchedResource>WEB-INF/web.xml</WatchedResource> </Context> 另外记得重新启动你的myeclipse或者是eclipse 不好使得话你试试卸载后重新安装tomcat ,一般就是端口号被占用了,你先试试、、、
追问
这个我试过了,不行。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询