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/01/19 12:25:08 UTC

[GitHub] [shardingsphere] zjcnb opened a new issue #14916: Example are failed, such as ShardingSpringBootMybatisExample.

zjcnb opened a new issue #14916:
URL: https://github.com/apache/shardingsphere/issues/14916


   `master`
   
   ```
   Exception in thread "main" java.lang.IllegalArgumentException: Cannot instantiate interface org.springframework.context.ApplicationContextInitializer : org.springframework.boot.context.ConfigurationWarningsApplicationContextInitializer
   	at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:439)
   	at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:418)
   	at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:409)
   	at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:259)
   	at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:240)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1242)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1230)
   	at org.apache.shardingsphere.example.sharding.spring.boot.mybatis.ShardingSpringBootMybatisExample.main(ShardingSpringBootMybatisExample.java:37)
   Caused by: java.lang.NoSuchMethodError: org.springframework.core.KotlinDetector.isKotlinReflectPresent()Z
   	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:191)
   	at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:435)
   	... 7 more
   ```
   
   


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



[GitHub] [shardingsphere] zjcnb closed issue #14916: Example are failed, such as ShardingSpringBootMybatisExample.

Posted by GitBox <gi...@apache.org>.
zjcnb closed issue #14916:
URL: https://github.com/apache/shardingsphere/issues/14916


   


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



[GitHub] [shardingsphere] zjcnb commented on issue #14916: Example are failed, such as ShardingSpringBootMybatisExample.

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #14916:
URL: https://github.com/apache/shardingsphere/issues/14916#issuecomment-1016419256


   @totalo Please help with this issue.


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



[GitHub] [shardingsphere] zjcnb edited a comment on issue #14916: Example are failed, such as ShardingSpringBootMybatisExample.

Posted by GitBox <gi...@apache.org>.
zjcnb edited a comment on issue #14916:
URL: https://github.com/apache/shardingsphere/issues/14916#issuecomment-1016419256


   @totalo Please help with this issue, thx.


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



[GitHub] [shardingsphere] totalo commented on issue #14916: Example are failed, such as ShardingSpringBootMybatisExample.

Posted by GitBox <gi...@apache.org>.
totalo commented on issue #14916:
URL: https://github.com/apache/shardingsphere/issues/14916#issuecomment-1017141816


   The error is caused by the recent api adjustment but the sample code has not been adjusted. After discussion, we will put the generated source code into the generated folder, and then deal with it uniformly.


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



[GitHub] [shardingsphere] zjcnb edited a comment on issue #14916: Example are failed, such as ShardingSpringBootMybatisExample.

Posted by GitBox <gi...@apache.org>.
zjcnb edited a comment on issue #14916:
URL: https://github.com/apache/shardingsphere/issues/14916#issuecomment-1016419256


   @totalo Please help reslove this issue, thx.


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



[GitHub] [shardingsphere] zjcnb commented on issue #14916: Example are failed, such as ShardingSpringBootMybatisExample.

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #14916:
URL: https://github.com/apache/shardingsphere/issues/14916#issuecomment-1041190870


   Fixed, refer to : #15404 


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



[GitHub] [shardingsphere] totalo commented on issue #14916: Example are failed, such as ShardingSpringBootMybatisExample.

Posted by GitBox <gi...@apache.org>.
totalo commented on issue #14916:
URL: https://github.com/apache/shardingsphere/issues/14916#issuecomment-1016427789


   > @totalo Please help reslove this issue, thx.
   
   ok, i will check.


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