JavaShuo
栏目
标签
SpringBoot在使用Jpa的时候出现Caused by: java.lang.IllegalArgumentException: Not a managed type: class
时间 2021-01-05
标签
Spring
Java
spring boot
jpa
java
栏目
Spring
繁體版
原文
原文链接
我往常写代码的时候.对于数据库我一直是在使用Mybatis,今天来尝试Jpa的时候,出现了一个问题,这个问题报错如下: 当看到这个问题的时候还是很疑惑的 这个错误翻译后是说:不是托管类型,当时想了下可能是因为没有扫描到这个类吧 ,但是SpringBoot不是会挪描同包或者是子包嘛? 想到这里,因为我这个类所在的模块和SpringBoot的启动类没有在一个模块里面,所以我通过EntityScan注解
>>阅读原文<<
相关文章
1.
Caused by: java.lang.IllegalArgumentException: Not an managed type: class XXX
2.
微服务启动报错:java.lang.IllegalArgumentException: Not a managed type: class com.xxx.xxx.model.User
3.
springboot整合jpa启动类报错Not a managed type: class
4.
Caused by: java.lang.IllegalArgumentException: argument type mismatch
5.
springboot整合mybatis的时候报错Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFa...
6.
SpringBoot 整合JPA 出现 Error creating bean with name 'userRepository':Not a managed type 问题分析和解决方案
7.
hibernate 报错:Caused by: java.lang.IllegalArgumentException: argument type mismatch
8.
SpringBoot启动报:Caused by: java.lang.IllegalArgumentException: At least one JPA metamodel must be pres
9.
Spring集成JPA后,报“Not an managed type: class x.x.x"
10.
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'jdbc.username' in stri
更多相关文章...
•
在Spring中使用Redis
-
Redis教程
•
在Java程序中使用Redis
-
Redis教程
•
TiDB 在摩拜单车在线数据业务的应用和实践
•
☆基于Java Instrument的Agent实现
相关标签/搜索
caused
java.lang.illegalargumentexception
managed
时候
springboot+jpa
type
xcode5的使用
使用过的
Docker的使用
class
Spring
Java
Redis教程
PHP教程
SQLite教程
SpringBoot
应用
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
springboot在一个项目中启动多个核心启动类
2.
Spring Boot日志-3 ------>SLF4J与别的框架整合
3.
SpringMVC-Maven(一)
4.
idea全局设置
5.
将word选择题转换成Excel
6.
myeclipse工程中library 和 web-inf下lib的区别
7.
Java入门——第一个Hello Word
8.
在chrome安装vue devtools(以及安装过程中出现的错误)
9.
Jacob线上部署及多项目部署问题处理
10.
1.初识nginx
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Caused by: java.lang.IllegalArgumentException: Not an managed type: class XXX
2.
微服务启动报错:java.lang.IllegalArgumentException: Not a managed type: class com.xxx.xxx.model.User
3.
springboot整合jpa启动类报错Not a managed type: class
4.
Caused by: java.lang.IllegalArgumentException: argument type mismatch
5.
springboot整合mybatis的时候报错Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFa...
6.
SpringBoot 整合JPA 出现 Error creating bean with name 'userRepository':Not a managed type 问题分析和解决方案
7.
hibernate 报错:Caused by: java.lang.IllegalArgumentException: argument type mismatch
8.
SpringBoot启动报:Caused by: java.lang.IllegalArgumentException: At least one JPA metamodel must be pres
9.
Spring集成JPA后,报“Not an managed type: class x.x.x"
10.
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'jdbc.username' in stri
>>更多相关文章<<