• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.NoClassDefFoundError: weblogic/kernel/KernelLogManager

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic