0 Replies Latest reply on Nov 15, 2017 7:17 AM by anand.babu1

    Deploying axis2 war in wildfly 8. Unable to access/compile jsps

    anand.babu1

      I am deploying axis2 in wildfly AS. Though i am able to deploy it, when i am accessing it in URL (Via index.jsp), I am getting error in logs and 500 internal server exception.

       

      The error I am getting is

       

      [2017-11-15 06:43:04,119] [ERROR] [default task-1] [compiler] []

          JBWEB005028: Error reading class file java.io.ObjectInputStream

      org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException

              at org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:372)

       

      [2017-11-15 06:43:04,170] [ERROR] [default task-1] [request] []

          UT005023: Exception handling request to /axis2/axis2-web/index.jsp

      org.apache.jasper.JasperException: JBWEB004062: Unable to compile class for JSP:

       

       

      JBWEB004061: An error occurred at line: 1 in the generated java file

      The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files

       

      Important point to note is I am using JDK and JRE 8...