0 Replies Latest reply on Feb 9, 2016 12:33 PM by John Meloro

    java.lang.NoClassDefFoundError: Could not initialize class oracle.jdbc.driver.ClassRef

    John Meloro Newbie

      All,

       

      I am running JBoss EAP 6.3 and my war deployments are failing with the following error:

       

      • Caused by: java.lang.NoClassDefFoundError: Could not initialize class oracle.jdbc.driver.ClassRef

       

      whenever I add -Djava.security.manager or -Djava.security.manager="" or -Djava.security.manager="default" to the VM arguments to start JBoss.

       

      Without -Djava.security.manager my deployments work.

       

      However, I need to add -Djava.security.manager because I need to augment the existing java default security policy.

       

      I have found very little about this anywhere on the Internet.

       

      Any help would be appreciated.

       

      Thanks,