This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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

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?

Nathan Pruett

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.

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:
subject: java.lang.NoClassDefFoundError: oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider
It's not a secret anymore!