Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error  RSS feed

 
John Swain
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one help. Im getting this error: java.lang.NoClassDefFoundError: assignment
Exception in thread "main"

everything compiles just fine but when i run the program i get this error. hereis my code:


Please help, thanks
 
Horatio Westock
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your code doesn't refer to 'assignment' anywhere. What command are you using to run your program? It looks like you are trying to 'run' the wrong class.
 
John Swain
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saved it in a differnt folder with differnt programs and it worked just fine. thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!