This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

bizarre NoClassDefFoundError for no reason  RSS feed

 
Sidd Kulk
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers,
This is probably the most bizarre error i have ever come across. I am using Eclipse 3.2. I have two projects, one is a dynamic web project and the other is a simple java project acting as a data model.
The problem is that when i tried to call the methods of my data model from web project, i am getting this error wrapped inside the InvocationTargetException. I have set all the build path parameters correctly(though, if they were correct, this error wont have popped up, but still i m confident that its fine).
please help

thanks,
Sid
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it's a web application, your data model classes should be under WEB-INF/classes, or in a JAR file under WEB-INF/lib.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!