当前位置: 技术问答>java相关
被删了?再问一次(关于错误,是不是jre的问题?)
来源: 互联网 发布时间:2015-01-10
本文导语: 老是出下面的错误,不过运行个hello world什么的还行,最近重装系统后就这样了。大家看看是什么问题? Exception in thread "main" java.lang.NoClassDefFoundError: webproxy (wrong name: WebProxy) at java.lang.ClassLoader.defi...
老是出下面的错误,不过运行个hello world什么的还行,最近重装系统后就这样了。大家看看是什么问题?
Exception in thread "main" java.lang.NoClassDefFoundError: webproxy (wrong name:
WebProxy)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" java.lang.NoClassDefFoundError: webproxy (wrong name:
WebProxy)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
|
你的程序沒有問題,RUN出來打印
Listening on port 8089
我覺得應該是你的路徑錯了.
Listening on port 8089
我覺得應該是你的路徑錯了.