org.beetl.ext.simulate.WebSimulate' that could not be found.

==================file:/G:/test/spring-boot%20demo/ch4/target/classes/templates/functions2019-03-20 09:38:34.043  WARN 22332 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'simulateController': Unsatisfied dependency expressed through field 'webSimulate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.beetl.ext.simulate.WebSimulate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2019-03-20 09:38:34.046  INFO 22332 --- [  restartedMain] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2019-03-20 09:38:34.061  INFO 22332 --- [  restartedMain] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-03-20 09:38:34.398 ERROR 22332 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   :

***************************
APPLICATION FAILED TO START
***************************

Description:

Field webSimulate in com.bee.sample.ch4.controller.SimulateController required a bean of type 'org.beetl.ext.simulate.WebSimulate' that could not be found.

The injection point has the following annotations:
    - @org.springframework.beans.factory.annotation.Autowired(required=true)

The following candidates were found but could not be injected:
    - Bean method 'getWebSimulate' in 'WebSimulateConfig' not loaded because @ConditionalOnBean (types: com.fasterxml.jackson.databind.ObjectMapper; SearchStrategy: all) did not find any beans of type com.fasterxml.jackson.databind.ObjectMapper


Action:

Consider revisiting the entries above or defining a bean of type 'org.beetl.ext.simulate.WebSimulate' in your configuration.

Disconnected from the target VM, address: '127.0.0.1:59156', transport: 'socket'

Process finished with exit code 0

 

当前pom中


   org.springframework.boot
   spring-boot-starter-parent
   2.1.3.RELEASE
    

    com.ibeetl
    beetl-framework-starter
    1.1.40.RELEASE

解决方法:

  1.将spring-boot-starter-parent降为2.0.0.RELEASE

  2 将beetl-framework-starter升为1.1.70.RELEASE

 

 

 

 

 

你可能感兴趣的:(org.beetl.ext.simulate.WebSimulate' that could not be found.)