• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.NoClassDefFoundError  RSS feed

 
Chris Bremer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting a runtime error java.lang.NoClassDefFoundError on this line (line 40) FileArray outputFile = new FileArray();
I have never seen this error before and when I researched it the solution were a bit over my head. any suggestions would be appreciated.

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66304
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means your FileArray class is not in the classpath at run time.

This has little to do with your code, and more to do with how you are running it. So that's what you need to let us know.
 
Campbell Ritchie
Marshal
Posts: 56518
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!