java.lang.reflect.InvocationTargetException

Stack Overflow | Jimmy Shen | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    Class [com.mysql.jdbc.jdbc2.optional.MysqlXADataSource] not found

    at MoquiStart$StartClassLoader.loadClass()
  2. Unknown
    MoquiStart$StartClassLoader.loadClass
    1. MoquiStart$StartClassLoader.loadClass(MoquiStart.java:496)
    1 frame
  3. Java RT
    Class.forName
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    2. java.lang.Class.forName0(Native Method)
    3. java.lang.Class.forName(Class.java:264)
    3 frames
  4. Bitronix Transaction Manager :: Core
    PoolingDataSource.init
    1. bitronix.tm.utils.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:80)
    2. bitronix.tm.resource.common.XAFactoryHelper.createXAFactory(XAFactoryHelper.java:42)
    3. bitronix.tm.resource.common.XAPool.<init>(XAPool.java:94)
    4. bitronix.tm.resource.jdbc.PoolingDataSource.buildXAPool(PoolingDataSource.java:99)
    5. bitronix.tm.resource.jdbc.PoolingDataSource.init(PoolingDataSource.java:86)
    5 frames
  5. org.moqui.impl
    ExecutionContextFactoryImpl.<init>
    1. org.moqui.impl.context.TransactionInternalBitronix.getDataSource(TransactionInternalBitronix.groovy:130)
    2. org.moqui.impl.entity.EntityDatasourceFactoryImpl.init(EntityDatasourceFactoryImpl.groovy:82)
    3. org.moqui.impl.entity.EntityFacadeImpl.initAllDatasources(EntityFacadeImpl.groovy:191)
    4. org.moqui.impl.entity.EntityFacadeImpl.<init>(EntityFacadeImpl.groovy:120)
    5. org.moqui.impl.context.ExecutionContextFactoryImpl.initEntityFacade(ExecutionContextFactoryImpl.groovy:687)
    6. org.moqui.impl.context.ExecutionContextFactoryImpl.<init>(ExecutionContextFactoryImpl.groovy:196)
    6 frames
  6. Java RT
    ServiceLoader$1.next
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    5. java.lang.Class.newInstance(Class.java:442)
    6. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
    7. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    8. java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    8 frames
  7. org.moqui
    Moqui.loadData
    1. org.moqui.Moqui.loadData(Moqui.java:79)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  9. Unknown
    MoquiStart.main
    1. MoquiStart.main(MoquiStart.java:114)
    1 frame