在eclipse中启动tomcat 6时出现以下异常:
May 14, 2014 12:55:15 PM org.apache.catalina.startup.TldConfig lifecycleEvent
SEVERE: Error processing TLD files for context path
java.lang.IllegalArgumentException: URI has an authority component
at java.io.File.<init>(Unknown Source)
at org.apache.catalina.startup.TldConfig.getJarPaths(TldConfig.java:687)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:281)
at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:739)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4339)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
May 14, 2014 12:55:15 PM org.apache.catalina.startup.TldConfig lifecycleEvent
**SEVERE: Error processing TLD files for context path /MYAPP**
java.lang.IllegalArgumentException: URI has an authority component
at java.io.File.<init>(Unknown Source)
at org.apache.catalina.startup.TldConfig.getJarPaths(TldConfig.java:687)
at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:281)
at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:739)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4339)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
May 14, 2014 12:55:17 PM org.apache.coyote.http11.Http11Protocol start
我在线查看了一些答案,但找不到此异常的具体原因。 有人可以解释一下这个例外的原因吗?
提前致谢!
答案 0 :(得分:1)
尝试以下步骤:
设置服务器后,按如下方式更改端口:
一个。双击服务器面板中的tomcat服务器
湾它将打开一个配置面板。
℃。改变端口。保存更改。
d。右键单击服务器并启动服务器。
希望这是我的决心。如果没有,请发布其他解决方案/解决方法