You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/07 05:37:33 UTC
[GitHub] [incubator-shardingsphere] sfiloveyou commented on issue #1927:
HeuristicMessage NoClassDefFoundError
sfiloveyou commented on issue #1927: HeuristicMessage NoClassDefFoundError
URL: https://github.com/apache/incubator-shardingsphere/issues/1927#issuecomment-470392183
i have the same issue
Caused by: java.lang.NoClassDefFoundError: com/atomikos/icatch/HeuristicMessage
at io.shardingsphere.transaction.xa.manager.AtomikosDataSourceBeanWrapper.<init>(AtomikosDataSourceBeanWrapper.java:38) ~[sharding-transaction-2pc-xa-3.1.0.jar:na]
at io.shardingsphere.transaction.xa.manager.AtomikosTransactionManager.wrapDataSource(AtomikosTransactionManager.java:106) ~[sharding-transaction-2pc-xa-3.1.0.jar:na]
at io.shardingsphere.transaction.xa.convert.XADataSourceConverter.convert(XADataSourceConverter.java:54) ~[sharding-transaction-2pc-xa-3.1.0.jar:na]
at io.shardingsphere.transaction.core.datasource.ShardingTransactionalDataSource.<init>(ShardingTransactionalDataSource.java:54) ~[sharding-transaction-core-3.1.0.jar:na]
at io.shardingsphere.shardingjdbc.jdbc.adapter.AbstractDataSourceAdapter.<init>(AbstractDataSourceAdapter.java:59) ~[sharding-jdbc-core-3.1.0.jar:na]
at io.shardingsphere.shardingjdbc.jdbc.core.datasource.ShardingDataSource.<init>(ShardingDataSource.java:54) ~[sharding-jdbc-core-3.1.0.jar:na]
at io.shardingsphere.shardingjdbc.api.ShardingDataSourceFactory.createDataSource(ShardingDataSourceFactory.java:51) ~[sharding-jdbc-core-3.1.0.jar:na]
at com.yiyunpower.yicloud.config.ShardingDruidDataSource.dataSource(ShardingDruidDataSource.java:117) ~[classes/:na]
at com.yiyunpower.yicloud.config.ShardingDruidDataSource$$EnhancerBySpringCGLIB$$2339e312.CGLIB$dataSource$5(<generated>) ~[classes/:na]
at com.yiyunpower.yicloud.config.ShardingDruidDataSource$$EnhancerBySpringCGLIB$$2339e312$$FastClassBySpringCGLIB$$134a4f11.invoke(<generated>) ~[classes/:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358) ~[spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]
at com.yiyunpower.yicloud.config.ShardingDruidDataSource$$EnhancerBySpringCGLIB$$2339e312.dataSource(<generated>) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_151]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.3.20.RELEASE.jar:4.3.20.RELEASE]
... 90 common frames omitted
Caused by: java.lang.ClassNotFoundException: com.atomikos.icatch.HeuristicMessage
at java.net.URLClassLoader.findClass(Unknown Source) ~[na:1.8.0_151]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_151]
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[na:1.8.0_151]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_151]
... 108 common frames omitted
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services