File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NoClassDefFoundError: oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider