Topic: 使用myeclipse启动tomcat错误 |
Print this page |
1.使用myeclipse启动tomcat错误 | Copy to clipboard |
Posted by: altonpeng Posted on: 2003-12-02 09:01 eclipse2.1.2,myclipse插件2.64,tomcat4.129 我在myeclipse上建了一个工程,还有一个空的jsp页面, 我部署后,使用run/stop server启动tomcat时,控制台报错, 请各位大侠帮忙一下 控制台报错如下: 2003-12-2 8:46:49 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on port 80 Exception during startup processing java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Caused by: java.lang.NoClassDefFoundError: javax/management/MBeanRegistration at java.lang.ClassLoader.findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:723) at java.lang.ClassLoader.loadClass(ClassLoader.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:292) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:941) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:941) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:621) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:958) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1097) at org.apache.catalina.core.StandardService.initialize(StandardService.java:579) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246) at org.apache.catalina.startup.Catalina.start(Catalina.java:511) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) ... 5 more |
2.Re:使用myeclipse启动tomcat错误 [Re: altonpeng] | Copy to clipboard |
Posted by: altonpeng Posted on: 2003-12-02 12:25 有成功经验的介绍一下,我很需要 eclipse2.1.2,myclipse插件2.64,tomcat4.129 |
3.Re:使用myeclipse启动tomcat错误 [Re: altonpeng] | Copy to clipboard |
Posted by: nsd Posted on: 2003-12-02 14:08 我用lomboz的时候也出这错,不过已经被我搞定了。不知myeclipse能不能用同样办法解决。lomboz对每一个Server有一个配置文件,在插件目录下server/**.server,我修改的是tomcat410.server文件,<startVmParameters>标记下是tomcat启动的虚拟机参数设置,我和tomcat自己的启动脚本里的设置对照了一下,把里面的-Djava.endorsed.dirs部分改成-Djava.endorsed.dirs="${serverRootDirectory}/common/endorsed"就好了。 |
4.Re:使用myeclipse启动tomcat错误 [Re: altonpeng] | Copy to clipboard |
Posted by: altonpeng Posted on: 2003-12-02 20:14 我换一个tomcat就搞定了 |
5.Re:使用myeclipse启动tomcat错误 [Re: altonpeng] | Copy to clipboard |
Posted by: yangxionghui Posted on: 2003-12-06 15:16 有myeclipse 破解吗?我的过期啦。请发到 webservices@163.com |
6.Re:使用myeclipse启动tomcat错误 [Re: altonpeng] | Copy to clipboard |
Posted by: istary Posted on: 2003-12-09 16:33 nsd真是帮了我大忙,-Djava.endorsed.dirs="${serverRootDirectory}/bin;${serverRootDirectory}/common/endorsed"里头的${serverRootDirectory}/bin;删掉就行了,非常感谢,建议收入精华 |
7.Re:使用myeclipse启动tomcat错误 [Re: altonpeng] | Copy to clipboard |
Posted by: nsd Posted on: 2003-12-11 01:05 也谢谢你啊,我终于拿到一个积分了,真不容易啊^-^ |
8.Re:使用myeclipse启动tomcat错误 [Re: nsd] | Copy to clipboard |
Posted by: nothing Posted on: 2003-12-14 06:19 nsd wrote: http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=3794#3794 Fritz, |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |