Topic: 小弟请教!

  Print this page

1.小弟请教! Copy to clipboard
Posted by: jintao30371253
Posted on: 2005-03-03 12:16

小弟在运行程序时候显示的提示信息是:Exception in thread "main" java.lang.NoSuchMethodError: main
各位大哥应怎样解决呢

2.Re:小弟请教! [Re: jintao30371253] Copy to clipboard
Posted by: anticlockwise_6
Posted on: 2005-03-04 23:22

有一种可能是你的类中没有实现主函数
在程序的主类中应该有一个主函数
public static void main( String args[] )
{
[执行代码]
}


   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