我有一个webapp,我在带有runjettyrun 1.3.3的jetty版本7.5.1上启动。它工作正常。但是当我尝试在调试模式下启动jetty时,我在eclipse中遇到了这些错误:
livraison (2) [Jetty Webapp]
runjettyrun.Bootstrap at localhost:60282
Thread [main] (Suspended (exception ClassNotFoundException))
owns: Object (id=23)
owns: Object (id=24)
URLClassLoader$1.run() line: not available [local variables unavailable]
URLClassLoader$1.run() line: not available
AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext) line: not available [native method]
Launcher$ExtClassLoader(URLClassLoader).findClass(String) line: not available
Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available
Launcher$AppClassLoader.loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available
LauncherHelper.checkAndLoadMain(boolean, int, String) line: not available
C:\Program Files\Java\jre7\bin\javaw.exe (22 août 2014 14:36:09)
它说有一个ClassNotFoundException,但没有说出什么。我怎么能找到它?
答案 0 :(得分:1)
尝试通过环境变量运行调试模式,而不是从eclipse运行。