Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.NoClassDefFoundError: oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider

 
Karnati Sudhakar
Ranch Hand
Posts: 270
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to run the application Roadrantz that comes with the Spring in Action 2nd Edition.

My POM looks like below:




When i do mvn clean install i am getting the message as Build Successful but when i deployed the war file in Tomcat i am getting error as below:




Can any one throw some light on how it can be rectified?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's your problem -


I'm betting this file doesn't exist in the location specified.

Apparently, it's available through the Maven repository described in this post.
 
Karnati Sudhakar
Ranch Hand
Posts: 270
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nathan,

It helped..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic