Topic: 受不了啦!!关于使用eclipse调试jsp |
Print this page |
1.受不了啦!!关于使用eclipse调试jsp | Copy to clipboard |
Posted by: Killua Posted on: 2004-02-13 16:37 tomcat4.1+jdk1.4+lomboz2.1.2 写了一个jsp,为什么一run server就出现如下错误? 2004-2-13 15:57:14 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on port 8080 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:1153) 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:受不了啦!!关于使用eclipse调试jsp [Re: Killua] | Copy to clipboard |
Posted by: looluo Posted on: 2004-02-13 17:24 Exception stack已经很明确地指出了 Caused by: java.lang.NoClassDefFoundError: javax/management/MBeanRegistration |
3.Re:受不了啦!!关于使用eclipse调试jsp [Re: Killua] | Copy to clipboard |
Posted by: ma3310 Posted on: 2004-02-16 02:00 Tomcat 4.1.x 要打补丁的 |
4.Re:受不了啦!!关于使用eclipse调试jsp [Re: Killua] | Copy to clipboard |
Posted by: Killua Posted on: 2004-02-16 14:37 to looluo:那怎么解决啊? to ma3310:到哪里打补丁? |
5.Re:受不了啦!!关于使用eclipse调试jsp [Re: Killua] | Copy to clipboard |
Posted by: longwalk Posted on: 2004-02-17 22:58 我也有这个问题,我的tomcat是4.1.29,请上面两位明示。谢谢! |
6.Re:受不了啦!!关于使用eclipse调试jsp [Re: Killua] | Copy to clipboard |
Posted by: Killua Posted on: 2004-02-18 15:39 to longwalk:我换成tomcat5.0.18就好用了,你试试? |
7.Re:受不了啦!!关于使用eclipse调试jsp [Re: Killua] | Copy to clipboard |
Posted by: longwalk Posted on: 2004-02-21 09:39 是啊,换成5以后就好了。就用5吧。呵呵:) |
8.1.类路径;2.改用tomcat5.0 [Re: Killua] | Copy to clipboard |
Posted by: penshow Posted on: 2004-02-26 11:37 可能没有将MBeanRegistration类放在WEB-INF\lib下,再试试吧. 推荐改用tocmat5.0,它支持热代码调试。即在调试时改写javabean之后,不用重启就可以继续调试(即从所改动的方法前再重新运行) |
9.Re:受不了啦!!关于使用eclipse调试jsp [Re: Killua] | Copy to clipboard |
Posted by: returner Posted on: 2004-05-21 14:59 我用tomcat5.0还是有这样的问题啊 |
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 |