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/11/30 09:13:36 UTC

[GitHub] [shardingsphere-elasticjob] skddyj opened a new issue #1743: spring boot can not 'org.apache.shardingsphere.elasticjob.api.ShardingContext' bean

skddyj opened a new issue #1743:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1743


    i'm using springboot 2.1.7 and elasticjob-lite-spring-boot-starter 3.0.0 beta, i've configued by [USER MANUAL](https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/spring-boot-starter/) , when i start my project it show that:
   ![image](https://user-images.githubusercontent.com/13520699/100590260-1d1f4480-332f-11eb-9b96-2b89e449318e.png)
   
   it seems like that spring can not find a ShardingContext bean, what's wrong with my configuration?


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



[GitHub] [shardingsphere-elasticjob] skddyj commented on issue #1743: spring boot can not 'org.apache.shardingsphere.elasticjob.api.ShardingContext' bean

Posted by GitBox <gi...@apache.org>.
skddyj commented on issue #1743:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1743#issuecomment-735668372


   i've reboot my computer and cleaned my project just now, and the error is gone :( , thanks for your reply!


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



[GitHub] [shardingsphere-elasticjob] skddyj closed issue #1743: spring boot can not 'org.apache.shardingsphere.elasticjob.api.ShardingContext' bean

Posted by GitBox <gi...@apache.org>.
skddyj closed issue #1743:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1743


   


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



[GitHub] [shardingsphere-elasticjob] TeslaCN edited a comment on issue #1743: spring boot can not 'org.apache.shardingsphere.elasticjob.api.ShardingContext' bean

Posted by GitBox <gi...@apache.org>.
TeslaCN edited a comment on issue #1743:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1743#issuecomment-735660014


   ShardingContext is not a bean. Could you show me your code?


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



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1743: spring boot can not 'org.apache.shardingsphere.elasticjob.api.ShardingContext' bean

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1743:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1743#issuecomment-735660014


   ShardingContext is not a bean. Cloud you show me your code?


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