문제

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