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 2019/10/28 09:09:34 UTC

[GitHub] [incubator-shardingsphere] forachange opened a new issue #3387: springboot 2.1.x + shardingsphere 4.0.0-RC2 can't run

forachange opened a new issue #3387: springboot 2.1.x + shardingsphere 4.0.0-RC2 can't run
URL: https://github.com/apache/incubator-shardingsphere/issues/3387
 
 
   BUG
   -  springboot 2.1.9.RELEASE 
   - shardingsphere 4.0.0-RC 
   - mybatis-spring-boot-starter 2.0.1
   
   I can't run the application.
   
   The following is the error info:
   ```
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   Field userRepository in xxx.service.impl.UserServiceImpl required a bean of type 'xxx.mapper.UserRepository' that could not be found.
   
   The injection point has the following annotations:
   	- @org.springframework.beans.factory.annotation.Autowired(required=true)
   
   
   Action:
   
   Consider defining a bean of type 'xxx.mapper.UserRepository' in your configuration.
   ```
   
   Then I change the springboot version and shardingsphere version. it's ok.
   - springboot 2.0.9.RELEASE
   - mybatis 2.0.1
   - shardingsphere 4.0.0-RC1
   
   

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