You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "pingguanfei (via GitHub)" <gi...@apache.org> on 2024/06/07 10:46:57 UTC

[I] ElasticJob Not compatible with mybatis [shardingsphere-elasticjob]

pingguanfei opened a new issue, #2398:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2398

   <dependency>
   	<groupId>org.apache.shardingsphere.elasticjob</groupId>
   	<artifactId>elasticjob-lite-spring-boot-starter</artifactId>
   	<version>3.0.3</version>
   </dependency>
   <dependency>
   	<groupId>org.mybatis.spring.boot</groupId>
           <artifactId>mybatis-spring-boot-starter</artifactId>
   	<version>2.2.2</version>
   </dependency>
   
   
   2024-06-07 18:43:33.033  INFO 43444 --- [           main] com.afclab.AfcApplication                : No active profile set, falling back to 1 default profile: "default"
   2024-06-07 18:43:33.552  INFO 43444 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=650b6965-bd0a-398f-b070-2d1580698bb3
   2024-06-07 18:43:33.614  WARN 43444 --- [           main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'demoJOB': Unsatisfied dependency expressed through field 'demoMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.afclab.elasticjob.mapper.DemoMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
   2024-06-07 18:43:33.627  INFO 43444 --- [           main] ConditionEvaluationReportLoggingListener : 
   
   Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
   2024-06-07 18:43:33.707 ERROR 43444 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 
   
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   Field demoMapper in com.afclab.elasticjob.controller.DemoJOB required a bean of type 'com.afclab.elasticjob.mapper.DemoMapper' 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 'com.afclab.elasticjob.mapper.DemoMapper' in your 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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


Re: [I] ElasticJob Not compatible with mybatis [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian closed issue #2398: ElasticJob  Not compatible with mybatis 
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2398


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


Re: [I] ElasticJob Not compatible with mybatis [shardingsphere-elasticjob]

Posted by "pingguanfei (via GitHub)" <gi...@apache.org>.
pingguanfei closed issue #2398: ElasticJob  Not compatible with mybatis 
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2398


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


Re: [I] ElasticJob Not compatible with mybatis [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2398:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2398#issuecomment-2249460989

   - Feel free to test ElasticJob 3.0.4, please provide a git with unit tests.


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


Re: [I] ElasticJob Not compatible with mybatis [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2398:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2398#issuecomment-2297772427

   Closed because it could not be reproduced.


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