1 Reply Latest reply on Mar 28, 2008 6:27 AM by Nicklas Karlsson

    java.lang.ClassNotFoundException .. Bad version number in .class file

    Michael Hüttermann Newbie


      I try to run the booking - example on JBoss 4.2.2.GA. During deployment the following error occurs.

      java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.seam.example.booking.AuthenticatorAction, msg=Bad version number in .class file
           at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:560)
           at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)

      If the deployment goes through and I register myself in the booking application the following problem arises ..

      22:31:55,937 WARN  [lifecycle] /register.xhtml @59,75 value="#{user.username}": Target Unreachable, identifier 'user' resolved to null
      javax.el.PropertyNotFoundException: /register.xhtml @59,75 value="#{user.username}": Target Unreachable, identifier 'user' resolved to null
           at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)
           at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:81)
           at javax.faces.component.UIInput.getConvertedValue(UIInput.java:934)

      Can anyone give me a hint what is going on?

      Thanks for your time.