Forum Stats

  • 3,854,962 Users
  • 2,264,441 Discussions
  • 7,905,847 Comments

Discussions

"weblogic.application.ModuleException: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

User_HSMK8
User_HSMK8 Member Posts: 7 Employee
edited Nov 1, 2019 3:34PM in Java Cloud Service

Hello,

Could you please help me with this error that appears when trying to deploy an ISV (Prodinf) application to their JCS environment.

Attached you can find the log file  from Weblogic/EM console from their domain when trying to start the web app.

"weblogic.application.ModuleException: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException"

Any help would be greatly appreciated,

Thank you,

Damian

Best Answer

  • Manish Kapur-Oracle
    Manish Kapur-Oracle Member Posts: 73 Employee
    edited Apr 28, 2016 1:44PM Answer ✓

    Hi Damian,

    This looks like an issue with the ISV application that you are deploying and not directly a JCS (WebLogic) issue. The NoClassDefFoundError indicates that JVM could not find the definition of a class. Make sure all your application jar files are included in the war file and classpath is correct. Google suggests you could be missing ehcache.jar file.

Answers

  • Manish Kapur-Oracle
    Manish Kapur-Oracle Member Posts: 73 Employee
    edited Apr 28, 2016 1:44PM Answer ✓

    Hi Damian,

    This looks like an issue with the ISV application that you are deploying and not directly a JCS (WebLogic) issue. The NoClassDefFoundError indicates that JVM could not find the definition of a class. Make sure all your application jar files are included in the war file and classpath is correct. Google suggests you could be missing ehcache.jar file.

This discussion has been closed.