使用jeesite org.springframework.beans.NotReadablePropertyException: Invalid property 'tfxqCmsAccount.id' of bean class

一对多 对子表添加时在form表单 path="tfxqCmsAccount.id"页面报错,对比了下其他可行的,发现其自动生成的子类少了个构造方法

加上

public TfxqCmsMessage(TfxqCmsAccount tfxqCmsAccount){
  this.tfxqCmsAccount=tfxqCmsAccount;

}

问题解决

使用jeesite org.springframework.beans.NotReadablePropertyException: Invalid property 'tfxqCmsAccount.id' of bean class

时间: 2025-01-13 12:20:02

使用jeesite org.springframework.beans.NotReadablePropertyException: Invalid property 'tfxqCmsAccount.id' of bean class的相关文章

org.springframework.beans.NullValueInNestedPathException

报错代码: HTTP Status 500 - An exception occurred processing JSP page /WEB-INF/views/input.jsp at line 29 type Exception report message An exception occurred processing JSP page /WEB-INF/views/input.jsp at line 29 description The server encountered an in

解决Caused by: org.springframework.beans.NotWritablePropertyException总结

提出:今天做springxml的setter注入属性demo出现的属性无法注入的bug. 错误信息如下: Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property '27' of bean class [com.wg.xml_setter.Person]: Bean property '27' is not writable or has an invalid setter method

Caused by: org.springframework.beans.NotWritablePropertyException

1.错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 1:05:08 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 using

Invalid property 'driver_class' of bean class

1.错误描述 INFO:2015-05-01 13:06:07[localhost-startStop-1] - Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] WARN:2015-05-01 13:06:07[localhost-startStop-1] - Exception encountered during context initialization - ca

Invalid property 'url' of bean class [com.mchange.v2.c3p0.ComboPooledDataSource]

1.错误描述 INFO:2015-05-01 13:13:05[localhost-startStop-1] - Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] WARN:2015-05-01 13:13:05[localhost-startStop-1] - Exception encountered during context initialization - ca

Invalid property 'url' of bean class com mchange v2 c3p0 Co

1.错误描述 INFO:2015-05-01 13:13:05[localhost-startStop-1] - Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] WARN:2015-05-01 13:13:05[localhost-startStop-1] - Exception encountered during context initialization - ca

org.springframework.beans.factory.BeanCreationException

java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccesso

?--Porg.springframework.beans.MethodInvocationException: Property 'username' threw exception; nested exception is java.lang.NullPointerException

使用BoneCP作为连接池,在启动Tomcat报出以下异常: 一月 02, 2016 2:12:17 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:mynewdpi' did not find a

org.springframework.beans.factory.BeanDefinitionStoreException异常

1.下面是我遇到的异常信息: 2017-03-25 18:01:11,322 [localhost-startStop-1] [org.springframework.web.context.ContextLoader]-[ERROR] Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'da