@EnableSwagger2
@SpringBootApplication(scanBasePackages = {"cn.com.ten"} ,exclude = {org.activiti.spring.boot.SecurityAutoConfiguration.class})
@MapperScan(basePackages = {"cn.com.ten.**.dao"})
public class SystemEtlApplication {
public static void main(String[] args) {
SpringApplication.run(SystemEtlApplication.class, args);
}
}
Springboot integration activiti reported an error
Caused by: java.io.FileNotFoundException: class path resource [org/springframework/security/config/annotation/authentication/configurers/GlobalAuthenticationConfigurerAdapter.class]
cannot be opened because it does not exist
Solution:
Add springbootapplication on the startup class
exclude = {org.activiti.spring.boot.SecurityAutoConfiguration.class}
Read More:
- [Solved] org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class
- Springboot controls the startup of rabbitmq through configuration files
- [Solved] IDEA Start Maven Project Error: “Error starting ApplicationContext. To display the conditions report …”
- [Solved] Read the resources resource and convert it to file error: java.io.filenotfoundexception
- [Solved] Error creating bean with name ‘sqlSessionFactory‘ defined in class path resource
- SpringCloud: Error creating bean with name ‘configurationPropertiesBeans‘
- Error starting ApplicationContext. To display the conditions report re-run your application with ‘de
- [Solved] Springboot2.x ElasticSearch Error: availableProcessors is already set to [4], rejecting [4]
- [Solved] Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerExcepti
- Failed to auto-configure a DataSource: ‘spring.datasource.url‘ is not specified and no embedded data
- springboot Integrate mybatis Error: Error creating bean with name ‘deptController‘: Unsatisfied dependency expresse
- How to Solve Springboot configurate environment file Error
- Error creating bean with name [How to Solve]
- [Solved] Springboot Error: Error creating bean with name ‘dataSource‘ defined in class path resource
- [Solved] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
- [Solved] Spring boot Run Error: o.s.b.d.LoggingFailureAnalysisReporter ERROR;
- [Solved] Failed to bind properties under ‘spring.servlet.multipart.file-size-threshold‘ to
- Error resolving template [index], template might not exist
- How to Solve Mybatis error: invalid bound statement (not found)
- [Solved] Springboot integrate swagger error: Failed to start bean ‘documentationPluginsBootstrapper‘