首先安装了插件后再启动Eclipse,不能载入Tomcat插件,解决办法:
从装Eclipse,再装Tomcat插件,再启动Eclipse时不要选原来的workspace(晕死)
这时,Eclipse里确实能看到可爱的小猫了,配置一下,可启动不了,错误信息如下,有谁能帮帮我啊,谢谢先:
2004-8-17 13:52:00 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2004-8-17 13:52:00 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 3531 ms
2004-8-17 13:52:00 org.apache.catalina.realm.JAASRealm setContainer
信息: Setting JAAS app name Standalone
2004-8-17 13:52:00 org.apache.catalina.core.StandardService start
信息: Starting service Tomcat-Standalone
2004-8-17 13:52:00 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.25
2004-8-17 13:52:01 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
java.lang.reflect.InvocationTargetException
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:284)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
Caused by: java.lang.ExceptionInInitializerError
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4165)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:476)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2298)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
... 6 more
Caused by: java.lang.IllegalArgumentException: dom4j-core,jdom,xml-apis,xerces,junit-Extension-Name
at java.util.jar.Attributes$Name.<init>(Unknown Source)
at java.util.jar.Attributes.getValue(Unknown Source)
at org.apache.catalina.util.ManifestResource.getRequiredExtensions(ManifestResource.java:199)
at org.apache.catalina.util.ManifestResource.processManifest(ManifestResource.java:168)
at org.apache.catalina.util.ManifestResource.<init>(ManifestResource.java:52)
at org.apache.catalina.util.ExtensionValidator.addSystemResource(ExtensionValidator.java:214)
at org.apache.catalina.util.ExtensionValidator.addFolderList(ExtensionValidator.java:405)
at org.apache.catalina.util.ExtensionValidator.<clinit>(ExtensionValidator.java:106)
... 14 more