SpringBoot 启动报错 No property found for type !
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘carCuringController’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘carCuringServiceImpl’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘carCuringDao’: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.zczc.logistics_admin.admin.carCuring.model.response.CarCuringInfoResponse com.zczc.logistics_admin.common.dao.CarCuringDaoExt.getCarCuringEntity(com.zczc.logistics_admin.admin.carCuring.model.request.CarCuringInfoRequest)! No property getCarCuringEntity found for type CarCuringEntity!
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘carCuringServiceImpl’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘carCuringDao’: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.zczc.logistics_admin.admin.carCuring.model.response.CarCuringInfoResponse com.zczc.logistics_admin.common.dao.CarCuringDaoExt.getCarCuringEntity(com.zczc.logistics_admin.admin.carCuring.model.request.CarCuringInfoRequest)! No property getCarCuringEntity found for type CarCuringEntity!
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘carCuringDao’: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Failed to create query for method public abstract com.zczc.logistics_admin.admin.carCuring.model.response.CarCuringInfoResponse com.zczc.logistics_admin.common.dao.CarCuringDaoExt.getCarCuringEntity(com.zczc.logistics_admin.admin.carCuring.model.request.CarCuringInfoRequest)! No property getCarCuringEntity found for type CarCuringEntity!
Caused by: org.springframework.data.mapping.PropertyReferenceException: No property getCarCuringEntity found for type CarCuringEntity!
以上是报错,类似的很多
这个原因有多处,这只是其中一处,这里展示一处问题
写的时候没有很认真没有注意按照规则或者说模板写清楚,少些了一个单词Dao
以上图是改完之后的,把CarCuringImpl 改成CarCuringDaoImpl 然后启动就可以了
包括接口缺少了Dao 实现类缺少Impl ,Jpa实体类没有继承等
都会出现同样的报错
新入CSDN,写点自己平常遇到的错误,当做是记错本,方便自己以后查阅,如果有遇到类似错误的问题,希望能帮到你,小弟不才,欢迎大神指点一下~非常感谢
SpringBoot 启动报错 No property found for type !相关推荐
- springboot启动报错:Unregistering JMX-exposed beans on shutdown
环境 1,maven 3.5.0 2,eclipse 4.7.1 3,spring boot 1.5.9.RELEASE springboot启动报错 按照spring 用户手册创建新的spring ...
- SpringBoot启动报错:Parameter 0 of method hmset in com.qcby.rbac.util.RedisUtils required a bean of type
SpringBoot启动报错,报错信息如下: 报错是由于A类中定义了含参数的构造函数,Spring自动构造和注入时未为该Bean传入参数,引起报错. 查了很多资料,最后发现,我是因为注释的时候没有把@ ...
- 启动Spring项目报错,Springboot启动报错 Disconnected from the target VM 解决过程
启动Spring项目报错,Springboot启动报错 Disconnected from the target VM 解决过程 大概率是缺少了一下依赖 <dependency><g ...
- IDEA springboot启动报错java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path
IDEA springboot启动报错: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path: [D:\Java\bi ...
- SpringBoot启动报错Could not resolve placeholder ‘XXX.XXX‘ in value
SpringBoot启动项目时报错: Exception encountered during context initialization - cancelling refresh attempt: ...
- springboot启动报错`CommandLineWrapper` is ill-suited for launching apps on Java 9+.
项目从jdk8升级到jdk11后springboot启动报错,查询多方资料未果 报错信息: `CommandLineWrapper` is ill-suited for launching apps ...
- SpringBoot启动报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean
SpringBoot启动报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ...
- springboot启动报错Logbook
springboot启动报错 APPLICATION FAILED TO START Description: Field logbookHttpRequestInterceptor in com.j ...
- springboot启动报错Error:Kotlin: Module was compiled with an incompatible version of Kotlin
springboot 启动报错 报错内容: Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The ...
- SpringBoot启动报错:HikariPool-1 - Exception during pool initialization.解决办法
SpringBoot启动报错:HikariPool-1 - Exception during pool initialization. 记一次Maven项目部署http访问mysql数据库过程中的问题 ...
最新文章
- MyBatis之级联——一对一关系
- 利用C语言 Python校正图像,情人节来了,教你个用 Python 表白的技巧
- 荣耀mgaic2鸿蒙系统,华为没有抛弃荣耀!我看着当年4400买的荣耀Magic2,不争气地哭了...
- 第六章,文本处理工具和正则表达式
- 通过 Service 访问 Pod - 每天5分钟玩转 Docker 容器技术(136)
- javascript中NaN属性、null对象、Number对象、Object对象
- 【BZOJ1030】[JSOI2007] 文本生成器(AC自动机上跑DP)
- MYSQL delete 从多人表中删除
- 无线网络实验之五:无线路由器防火墙设置
- 全新开发萝卜影视源码金色版 视频影视系统APP源码
- Android 滑动放大,Android多点触控实现对图片放大缩小平移,惯性滑动等功能
- 简单学JAVA-学好Java能做啥
- 获取注册表信息-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography的MachineGuid的值
- Edge的新标签页设置
- win10添加打印机--无法访问指定设备,路径或文件。。
- JavaScript-WebAPIs学习记录
- Centos7.5之Linux系统安装
- 简单小白vr效果制作(unity)
- Lumerical官方案例、FDTD时域有限差分法仿真学习(十四)——超透镜(Metalens)
- 我只记得别人给了我什么,不记得别人没给我什么?