0 Replies Latest reply on Jan 26, 2005 4:18 AM by S Ramarao

    Problem with J2ee tutorial- DukeBank with Jboss.

    S Ramarao Newbie

      Hi ,
      I am getting the following errors when i try to compile the build.xml in Duke-Bank application with jboss-4.0.0. The errors are:

      [javac] Compiling 4 source files to F:\j2eetutorial14\examples\bank\build
      [javac] F:\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\Defin
      itionTag.java:67: inconvertible types
      [javac] found : javax.servlet.jsp.JspContext
      [javac] required: javax.servlet.jsp.PageContext
      [javac] PageContext context = (PageContext) getJspContext();
      [javac] ^
      [javac] F:\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\Inser
      tTag.java:59: inconvertible types
      [javac] found : javax.servlet.jsp.JspContext
      [javac] required: javax.servlet.jsp.PageContext
      [javac] PageContext context = (PageContext) getJspContext();
      [javac] ^
      [javac] 2 errors

      BUILD FAILED

      Please Help.