Topic: 高手帮忙呀!!!

  Print this page

1.高手帮忙呀!!! Copy to clipboard
Posted by: gooout
Posted on: 2005-01-30 16:03

编译时没有出现错误,运行时有如下错误信息:

  Exception in thread "main" java.lang.NoClassDefFoundError: Hello (wrong
  hello/Hello)
  at java.lang.ClassLoader.defineClass0(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.
  1)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
  at java.net.URLClassLoader.access0(URLClassLoader.java:56)
  at java.net.URLClassLoader.run(URLClassLoader.java:195)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
是怎么回事?
高手帮忙呀!!!

2.Re:高手帮忙呀!!! [Re: gooout] Copy to clipboard
Posted by: simbas
Posted on: 2005-02-01 22:23

你是怎么运行的?

3.Re:高手帮忙呀!!! [Re: gooout] Copy to clipboard
Posted by: heart5
Posted on: 2005-02-02 10:55

请详细描述:
程序的大概内容,涉及了哪些类的class;
命令行是?

你的初步判断等等

4.Re:高手帮忙呀!!! [Re: gooout] Copy to clipboard
Posted by: ffan
Posted on: 2005-02-04 13:31

code 的类名写对了吗 注意大小写

5.Re:高手帮忙呀!!! [Re: gooout] Copy to clipboard
Posted by: rjyang
Posted on: 2005-02-25 18:04

没有main


   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