Caused by: org.springframework.beans.NullValueInNestedPathException: Invalid property 'xxxx'

来源:互联网 发布:tdcdma是什么网络 编辑:程序博客网 时间:2024/05/10 17:56

Caused by: org.springframework.beans.NullValueInNestedPathException: Invalid property 'xxx' of bean class [xxxx]: Could not instantiate property type [xxxx] to auto-grow nested property path: java.lang.InstantiationException: xxxx

 

 

这种问题是因为 你这个类中没有默认的空的构造函数,导致不能自动注入 autowired ,所以无法找到该类。

0 0