java.lang.RuntimeException: Could not invoke defineClass!]

Oracle Community | djordjevs | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GF 3.1.1 mixing OSGi and non-OSGi (EE) issues

    Oracle Community | 6 years ago | djordjevs
    java.lang.RuntimeException: Could not invoke defineClass!]
  2. 0

    com.mysql.jdbc.Driver not found when trying to add SQL features in Jitsi

    Stack Overflow | 5 years ago | evil0
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver not found by [76]
  3. 0

    Servlets in karaf/servicemix

    Stack Overflow | 4 years ago | rhythmic
    java.lang.ClassNotFoundException: app.web.servlet.ConnectServlet not found by JDBCWebDemo [207]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Use Spring AOP in OSGi bundle

    Stack Overflow | 5 years ago | Paulius Matulionis
    java.lang.ClassNotFoundException: org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException not found by org.springframework.aop [57]
  6. 0

    Apache FTP server is not seeing a logging jar package that exists in the class path

    Stack Overflow | 5 years ago | DetriusXii
    javax.ejb.EJBException: javax.ejb.CreateException: Initialization failed for Singleton LibertyFTPServer
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.sun.ejb.containers.RemoteBusinessObject not found by ima-wl-client-web- osgi [584]

    at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation()
  2. Apache Felix Framework
    ModuleImpl$ModuleClassLoader.loadClass
    1. org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)
    2. org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
    3. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
    3 frames
  3. Java RT
    Method.invoke
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    2. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    3. java.lang.ClassLoader.defineClass1(Native Method)
    4. java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    5. sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
    6. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    7. java.lang.reflect.Method.invoke(Method.java:597)
    7 frames
  4. glassfish-corba-codegen
    Wrapper._generate
    1. com.sun.corba.ee.impl.orbutil.codegen.CodeGeneratorUtil.makeClass(CodeGeneratorUtil.java:99)
    2. com.sun.corba.ee.impl.orbutil.codegen.CodeGeneratorUtil.makeClass(CodeGeneratorUtil.java:102)
    3. com.sun.corba.ee.spi.orbutil.codegen.Wrapper._generate(Wrapper.java:1106)
    4. com.sun.corba.ee.spi.orbutil.codegen.Wrapper._generate(Wrapper.java:1090)
    4 frames
  5. Embedded GlassFish Web
    RemoteBusinessObjectFactory.getObjectInstance
    1. com.sun.ejb.EJBUtils.generateAndLoad(EJBUtils.java:596)
    2. com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:508)
    3. com.sun.ejb.EJBUtils.loadGeneratedRemoteBusinessClasses(EJBUtils.java:466)
    4. com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:414)
    5. com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:434)
    6. com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:75)
    6 frames
  6. Java RT
    NamingManager.getObjectInstance
    1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    1 frame
  7. Glassfish Naming
    SerialContext.lookup
    1. com.sun.enterprise.naming.impl.SerialContext.getObjectInstance(SerialContext.java:556)
    2. com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:514)
    2 frames