When accessing a JSP page the following exception is thrown:

Exception creating bean of class org.apache.struts.validator.DynaValidatorForm

Other actions that use this class too are working fine.

Unfortunately we don't know at what problem this exception does hint. Do you have any idea?

有帮助吗?

解决方案 2

Turned out it was a class loader problem. The same application was deployed two times.

We could have seen it in the log files all along.

其他提示

Try this it worked for me once : Change

<form-bean name="deptForm" type="org.apache.struts.action.DynaValidatorForm">  

to

<form-bean name="deptForm" type="org.apache.struts.[B]validator[/B].DynaValidatorForm"> 

Check whether the .class file is generated or not in the classes folder.
Some times it happens when you just copy and paste your Java Class and it can't find the class at the time of build.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top