Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in Object Creation?

 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For below code why i get erro

output:
java.lang.NoSuchMethodError: main
Exception in thread "main"

 
fred rosenberger
lowercase baba
Bartender
Posts: 12124
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are you typing on your command line? are you running "java A" or "java B"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic