我用的是MyEclipse 5.5 ,tomcat 是apache-tomcat-6.0.20,我启用tomcat debug模式时,程序无法正常运行,jsp页面不能访问显示无法显示,类似没开服务器时的样子,我打了断点想调试程序,请问为什么会这样,怎么正常使用tomcat debug模式调试程序?急!!!谢谢
我用的是MyEclipse 5.5 ,tomcat 是apache-tomcat-6.0.20,我启用tomcat debug模式时,程序无法正常运行,jsp页面不能访问显示无法显示,类似没开服务器时的样子,我打了断点想调试程序,请问为什么会这样,怎么正常使用tomcat debug模式调试程序?急!!!谢谢
jsp打不开的时候,IDE里面停住了,你要一步步debug走或者直接run到底。
throws ClassNotFoundException
{
try {
return (Class)
AccessController.doPrivileged(new PrivilegedExceptionAction() {
public Object run() throws ClassNotFoundException {
String path = name.replace('.', '/').concat(".class");
Resource res = ucp.getResource(path, false);
if (res != null) {
try {
return defineClass(name, res);
} catch (IOException e) {
throw new ClassNotFoundException(name, e);
}
} else {
throw new ClassNotFoundException(name);
}
}
}, acc);
} catch (java.security.PrivilegedActionException pae) {
throw (ClassNotFoundException) pae.getException();
}
}方法里出不来,怎么回事啊?
debug as->debug on server。
如果你那种不行试下这种看:
http://javaboy2006.javaeye.com/blog/264725
这种不会像那种那样容易卡死