aspose file tools
The moose likes Object Relational Mapping and the fly likes java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager" Watch "java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager" New topic
Author

java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager

Vick Chak
Greenhorn

Joined: May 18, 2011
Posts: 6
Trying to run a basic JPA program using createEntityManagerFactory, EntityManager and persistence.xml.....Everything compiling fine. I'm running it as a standalone Java application on Weblogic 10.3. First I got this error on running.

Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager, after that I did some search on the net and created the wlfullclient.jar and included it. After that I'm getting the below error.

Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/logging/LogEntryFormatter.

Tried removing wlcommons-logging.jar whenever facing an issue, but it doesnt help, it gives some other error when it is removed.

Can some one help please.

Thanks,
Vick.
Vick Chak
Greenhorn

Joined: May 18, 2011
Posts: 6
For folks who are struggling with this error, I'm posting a solution after

When you face this error java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager, first remove the weblogic system libraries, then generate the wlfullclient.jar file(steps are in the net) and add it to classpath.

Ultimately after several inclusion of other jar files which wasnt included, it worked.

All the best.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager
 
Similar Threads
JPA program with EntityManager - struggling with java.lang.NoClassDefFoundError 's
deployment on WebLogic6.0
error message
Regarding Thread Dump command
Exception in main when running EJB client