Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saturn作业引入MybatisPlus,MapperScan创建不出factoryBean #734

Open
qq1330140000 opened this issue Jan 14, 2021 · 0 comments
Open

Comments

@qq1330140000
Copy link

引入的pom文件:

com.baomidou
mybatis-plus-boot-starter
3.0.5

启动类为:
@SpringBootApplication
@MapperScan(value = "com.ai.cnooc.saturnjob.mapper")
public class CnoocSaturnJobApplication extends GenericSpringBootSaturnApplication {

public static void main(String[] args) {
	SpringApplication.run(CnoocSaturnJobApplication.class, args);
}

}

报错信息:
Caused by: java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.mybatis.spring.annotation.MapperScan.factoryBean()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant