java 秒表 运行
在“知道”里找的一个java秒表程序,怎么实际运行时报错??编译没有问题,错误如下:E:\JAVA>javaStopWatchExceptioninthread"main...
在“知道”里找的一个java秒表程序,怎么实际运行时报错??编译没有问题,
错误如下:
E:\JAVA>java StopWatch
Exception in thread "main" java.lang.NoClassDefFoundError: StopWatch (wrong name:info/bioz/test/StopWatch)
at java.lang.ClassLoader.defineClass1(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)
E:\JAVA>
程序是:http://zhidao.baidu.com/question/19271310.html 展开
错误如下:
E:\JAVA>java StopWatch
Exception in thread "main" java.lang.NoClassDefFoundError: StopWatch (wrong name:info/bioz/test/StopWatch)
at java.lang.ClassLoader.defineClass1(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)
E:\JAVA>
程序是:http://zhidao.baidu.com/question/19271310.html 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询