Announcement

Collapse
No announcement yet.

java.lang.VerifyError

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.lang.VerifyError

    Ich versuche von einer als Registrierungsseite fungierenden JSP zu einer Bestätigungsseite zu kommen. Nachdem der Benutzer die Daten eingegeben hat, soll der Zugangscode gegen dem DB-Bestand geprüft werden und bei Erfolg eine Bestätigungsseite mit den zuvor eingegebenen Daten angezeigt werden (ebenfalls eine JSP).
    Vergisst der Benutzer eine Eingabe, soll zur Eingabemaske zurück gegangen und eine Fehlermeldung angezeigt werden; Das klappt auch!

    Ich erhalte aber immer folgende Exception im Log-File:

    2003-06-17 10:33:23 StandardWrapper[/webdav:invoker]: Loading container servlet invoker
    2003-06-17 10:33:23 invoker: init
    2003-06-17 10:33:23 jsp: init
    2003-06-17 10:33:32 jsp: init
    2003-06-17 10:33:42 action: Processing a POST for /UserActivator
    2003-06-17 10:33:42 action: Setting locale 'de_DE'
    2003-06-17 10:33:42 action: Looking for ActionForm bean under attribute 'ActivationForm'
    2003-06-17 10:33:42 action: Creating new ActionForm instance of class 'com.hello.vmd.form.ActivationForm'
    2003-06-17 10:33:42 action: Storing instance under attribute 'ActivationForm' in scope 'request'
    2003-06-17 10:33:42 action: Populating bean properties from this request
    2003-06-17 10:33:42 action: Validating input form properties
    2003-06-17 10:33:42 action: No errors detected, accepting input
    2003-06-17 10:33:42 action: Looking for Action instance for class com.hello.vmd.user.UserActivator
    2003-06-17 10:33:42 action: Double checking for Action instance already there
    2003-06-17 10:33:42 action: Creating new Action instance
    2003-06-17 10:33:42 action: Error creating Action instance for path '/UserActivator', class name 'com.hello.vmd.user.UserActivator' java.lang.VerifyError: (class: com/hello/vmd/user/UserActivator, method: perform signature: (Lorg/apache/struts/action/ActionMapping;Lorg/apache/struts/action/ActionForm;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponseLorg/apache/struts/action/Ac at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:130)
    at org.apache.struts.action.ActionServlet.processActi onCreate(ActionServlet.java:1630)
    at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1576)
    at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)

    Woran liegt das und natürlich: Wie kann ich das Beheben?

    Hier das Action-Mapping aus struts-config.xml:

    <action path="/UserActivator"
    type="com.hello.vmd.user.UserActivator"
    name="ActivationForm"
    scope="request"
    input="/activate.jsp">
    <forward name="success" path="/activateok.jsp"/>
    <forward name="failure" path="/activate.jsp"/>
    </action>

    Vielen Dank.

    Dirk<BR>
    [email protected]
Working...
X