You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/15 06:38:56 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue, #16848: `java.lang.ClassNotFoundException: javax.xml.bind.JAXB` occurred when using Narayana

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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] tristaZero closed issue #16848: `java.lang.ClassNotFoundException` occurred when using AES encryption or Narayana in Java 11 or 17

Posted by GitBox <gi...@apache.org>.
tristaZero closed issue #16848: `java.lang.ClassNotFoundException` occurred when using AES encryption or Narayana in Java 11 or 17
URL: https://github.com/apache/shardingsphere/issues/16848


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org