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数据库过程中的问题 ...
最新文章
- 数模01【层次分析法模型】
- 8.元组tup.rs
- 浅谈企业自主信息化开发模式
- 华为服务器故障灯不开机_华为服务器日常维护及故障处理介绍V.ppt
- [Stage3D]GPU渲染的喷泉粒子
- Docker部署Nacos服务端
- 坐标转换 | 高斯坐标转经纬度坐标
- 各平均数介绍(算数平均数、几何平均数、加权算术平均数)
- html怎么画虚线空心圆,PS如何画虚线圆圈 photoshop快速画虚线圆圈方法教程
- windows副本未通过正版windows验证的解决!
- Beyond Compare下载安装
- 16k a4_16开纸是多大(185mmx260mm),相当于1张A4纸大小
- linux内核系统调用创建和删除文件
- C语言#include的用法
- 找回忘记的ADSL拨号密码
- python输入hello*3_Python快速上手: hello world
- vue内容横向循环滚动_在Vue中使用better-scroll实现横向滚动和竖向滚动
- 有限元固体力学计算软件code_aster集成平台Salome_meca的安装问题记录
- STM32实现低功耗待机(电流低至5.7uA)
- 膨胀卷积神经网络_用膨胀的卷积神经网络生成钢琴音乐
热门文章
- 《虎胆龙威4》观后感
- 【C++】整型溢出问题
- android 键盘语音输入,讯飞输入法Android V7.0.4265 长按空格键开启语音输入
- ubuntu系统备份、系统镜像制作教程
- 关于人生的15句话——特别现实的讽刺性句子
- 学长的白日梦C语言题目,bzoj4030【HEOI2015】小L的白日梦
- ubuntu18.04 安装 QQ
- 论文笔记——Thompson Sampling for Contextual Bandits with Linear Payoffs(线性收益)
- 在yandex投放广告的话,需要注册俄罗斯常用的域名吗?
- Win32 绘制RGB三原色图案