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 2020/03/26 10:08:21 UTC

[GitHub] [incubator-shardingsphere] gchhy opened a new issue #4960: the bug about jdk8.0+ Compatibility

gchhy opened a new issue #4960: the bug about jdk8.0+ Compatibility
URL: https://github.com/apache/incubator-shardingsphere/issues/4960
 
 
   ## Bug Report
   ### Which version of ShardingSphere did you use?
   3.1.0
   
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   Sharding-JDBC
   
   ### Expected behavior
   Cause: java.lang.NullPointerException] with root cause
   java.lang.NullPointerException: null
   	at io.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.execute(ShardingPreparedStatement.java:139) 
   
   ### Actual behavior
   java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext
   
   ### Reason analyze (If you can)
   the 9 or 9+jdk will not support  javax.xml.bind.JAXBContext
   I hope you are compatible 
   I don't know why try catch the proplem, 
   This leads to
   It's hard to find problems
   
   

----------------------------------------------------------------
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

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4960: the bug about jdk8.0+ Compatibility

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4960: the bug about jdk8.0+ Compatibility
URL: https://github.com/apache/incubator-shardingsphere/issues/4960#issuecomment-604360287
 
 
   BTW2: java9 is not a LTS version, suggest use java11 instead.

----------------------------------------------------------------
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

[GitHub] [incubator-shardingsphere] gchhy commented on issue #4960: the bug about jdk8.0+ Compatibility

Posted by GitBox <gi...@apache.org>.
gchhy commented on issue #4960: the bug about jdk8.0+ Compatibility
URL: https://github.com/apache/incubator-shardingsphere/issues/4960#issuecomment-604395955
 
 
   > BTW2: java9 is not a LTS version, suggest use java11 instead.
   
    java11 the same question. I think the biggest problem is that bugs are hidden too deep .It's not on the document,It's confusing for some novices。I just thought it would be better,And I think the shading-jdbc is great。 

----------------------------------------------------------------
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

[GitHub] [incubator-shardingsphere] kimmking edited a comment on issue #4960: the bug about jdk8.0+ Compatibility

Posted by GitBox <gi...@apache.org>.
kimmking edited a comment on issue #4960: the bug about jdk8.0+ Compatibility
URL: https://github.com/apache/incubator-shardingsphere/issues/4960#issuecomment-604357996
 
 
   @gchhy I don't think so.
   Everyone upgrade his/her projects(use ShardingSphere or not) to jdk9+, should make an investigation what and how to do.
   Whatever, it's no matter about ShardingSphere.

----------------------------------------------------------------
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

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4960: the bug about jdk8.0+ Compatibility

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4960: the bug about jdk8.0+ Compatibility
URL: https://github.com/apache/incubator-shardingsphere/issues/4960#issuecomment-604341821
 
 
   Since jdk9+, java is a modularized platform.
   You need add some javax.* module to your project dependencies.

----------------------------------------------------------------
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

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4960: the bug about jdk8.0+ Compatibility

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4960: the bug about jdk8.0+ Compatibility
URL: https://github.com/apache/incubator-shardingsphere/issues/4960#issuecomment-604357996
 
 
   @gchhy I don't think so.
   Everyone upgrade his/her projects to jdk9+, should make an investigation what and how to do.
   Whatever, it's no matter about ShardingSphere.

----------------------------------------------------------------
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

[GitHub] [incubator-shardingsphere] kimmking commented on issue #4960: the bug about jdk8.0+ Compatibility

Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #4960: the bug about jdk8.0+ Compatibility
URL: https://github.com/apache/incubator-shardingsphere/issues/4960#issuecomment-604343649
 
 
   BTW, strongly recommend upgrade to 4.0.1 or incoming 4.1.0(officially support java8 in sourcecode&compile level)

----------------------------------------------------------------
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

[GitHub] [incubator-shardingsphere] terrymanu closed issue #4960: the bug about jdk8.0+ Compatibility

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #4960: the bug about jdk8.0+ Compatibility
URL: https://github.com/apache/incubator-shardingsphere/issues/4960
 
 
   

----------------------------------------------------------------
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

[GitHub] [incubator-shardingsphere] gchhy commented on issue #4960: the bug about jdk8.0+ Compatibility

Posted by GitBox <gi...@apache.org>.
gchhy commented on issue #4960: the bug about jdk8.0+ Compatibility
URL: https://github.com/apache/incubator-shardingsphere/issues/4960#issuecomment-604347026
 
 
   > Since jdk9+, java is a modularized platform.
   > You need add some javax.* module to your project dependencies.
   
   yes,i know the question, It took me half an hour to find out the problem。so I hope you can mark or introduce the corresponding jar package。It's a better experience。

----------------------------------------------------------------
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