Exception creating bean of class org.apache.struts.validator.DynaValidatorForm: {1}

本文记录了一个关于Struts框架中出现的奇怪异常问题及其解决过程。该异常涉及到DynaValidatorForm的初始化错误,重启WebLogic服务器可以暂时解决问题。疑似类加载器中存在相同配置的新旧版本冲突,导致系统始终读取旧配置并引发其他异常。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

i encountered a strange exception, the track likes below:

======================================================

 

javax.servlet.jsp.JspException: Exception creating bean of class
org.apache.struts.validator.DynaValidatorForm: {1}

       at
org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:563)

       at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520)

======================================================

 

I have tried many methods to solve it, but it still exists.

However, it was fixed when restart the weblogic server. It seems that there are

two same config in the classloader, an old and a new. The system always read the

old one, so some other exception info will be shown up, likes:

======================================================

Error
creating form bean of class org.apache.struts.validator.DynaValidatorForm

java.lang.IllegalArgumentException: Invalid property name 'entryDateTime'

       at
org.apache.struts.action.DynaActionForm.getDynaProperty(DynaActionForm.java:
598)

======================================================

 

If you have any further info about this exception, please let me know.~

Thanks in advance!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值