• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

bizarre NoClassDefFoundError for no reason

 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic