質問

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