Results 1 to 3 of 3
  1. #1
    bbq
    bbq is offline Senior Member
    Join Date
    Jun 2007
    Posts
    132
    Rep Power
    0

    Default Compatibility between Struts 1,4 + Jboss 4.03 + Jdk 1.4.2

    Hi,
    I want to function a simple example of Struts v1,2 in Jboss 4.03 SP1 withJDK 1.4.2_08, Servlets v2,4 and I obtain the following error:
    Java Code:
     
    03:28:39,593 ERROR [RequestUtils] Error creating form bean of class no.casa.pwl.overview.form.AbcForm
    
    java.lang.NullPointerException
    
    at org.apache.struts.config.FormBeanConfig.createActionForm(
    
    FormBeanConfig.java:212)
    
    at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:292)
    
    at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:191)
    
    at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:319)
    
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:202)
    
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    Last edited by bbq; 06-30-2007 at 03:22 AM.

  2. #2
    Jack is offline Senior Member
    Join Date
    Jun 2007
    Posts
    130
    Rep Power
    0

    Default

    How many versions of jdk do you have?
    because the exception indicates you that there are problems with the version of your jdk.
    So if you using eclipse go to preferences/java/compiler and choose the jdk that you want to use.

  3. #3
    Ed
    Ed is offline Senior Member
    Join Date
    Jun 2007
    Posts
    110
    Rep Power
    0

    Default

    There is compatibility between them
    Please check the versions

Similar Threads

  1. JBoss server
    By mew in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 01-08-2008, 08:22 AM
  2. Compatibility issues with IE7
    By Aneesha in forum New To Java
    Replies: 7
    Last Post: 11-30-2007, 06:46 AM
  3. Replies: 1
    Last Post: 08-09-2007, 08:32 PM
  4. want to know IE compatibility with ListItems
    By vinaydandagi in forum Advanced Java
    Replies: 1
    Last Post: 07-08-2007, 12:30 AM
  5. Compatibility with Dual Core Procesors
    By dlgoes in forum Advanced Java
    Replies: 1
    Last Post: 05-24-2007, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •