This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.NoClassDefFoundError: javax/inject/Singleton in Jersey Framework  RSS feed

 
Alejandro Barrero
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am creating my first Jersey Web Service with Jersey, in Eclipse, using jaxrs-ri-2.4.1. I am getting "java.lang.NoClassDefFoundError: javax/inject/Singleton"; however I have javax.inject-1.jar, with the class, in WEB_INFO\lib and in the libraries in the Build Path. I am also confused that I have to use jars not mentioned in "http://www.youtube.com/watch?v=4DY46f-LZ0M". I don't know what I am doing wrong.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!