Try adding All the following, In my application it is working fine with tomcat
@EnableJpaRepositories("my.package.base.*") @ComponentScan(basePackages = { "my.package.base.*" }) @EntityScan("my.package.base.*")
I am using spring boot, and when i am using embedded tomcat it was working fine with out
@EntityScan("my.package.base.*")
but when I tried to deploy the app to an external tomcat I gotnot a managed type
error for my entity.
.
No comments:
Post a Comment