Meaningless Drivel is fun!*
The moose likes Spring and the fly likes java.lang.NoClassDefFoundError: oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "java.lang.NoClassDefFoundError: oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider" Watch "java.lang.NoClassDefFoundError: oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider" New topic
Author

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

Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

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?

Regards
Sudhakar
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

Thanks Nathan,

It helped..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.NoClassDefFoundError: oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider
 
Similar Threads
Seeking simple Spring MVC + Hibernate + MySql + Tomcat tutorial/working project
java.lang.NoSuchMethodError: HandlerMethodResolver
Could not resolve dependencies for maven project
Hibernate: org.springframework.beans.factory.BeanCreationException
Horrendous EL problem