TeslaCN opened a new issue, #16848:
URL: https://github.com/apache/shardingsphere/issues/16848
## Bug Report
### Which version of ShardingSphere did you use?
master - a7f0d768177c6535690d776505db843adca7aa5f
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
Proxy with XA provided by Narayana
### Expected behavior
Transaction worked.
### Actual behavior
```
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/xml/bind/JAXB
at
org.apache.shardingsphere.transaction.xa.narayana.config.NarayanaConfigurationFileGenerator.generateFile(NarayanaConfigurationFileGenerator.java:63)
at
org.apache.shardingsphere.mode.manager.memory.MemoryContextManagerBuilder.lambda$generateTransactionConfigurationFile$2(MemoryContextManagerBuilder.java:79)
at java.base/java.util.Optional.ifPresent(Optional.java:183)
at
org.apache.shardingsphere.mode.manager.memory.MemoryContextManagerBuilder.generateTransactionConfigurationFile(MemoryContextManagerBuilder.java:79)
at
org.apache.shardingsphere.mode.manager.memory.MemoryContextManagerBuilder.build(MemoryContextManagerBuilder.java:60)
at
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.createContextManager(BootstrapInitializer.java:75)
at
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:60)
at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:47)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXB
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 8 more
```
### Reason analyze (If you can)
Higher version JRE doesn't contains JAXB.
--
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.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]