I'm trying to get Duke's Bank (the tutorial) to compile to build my first
J2EE application. I am getting the following error...
compile-web:
[javac] Compiling 4 source files to C:\inc\bank\build
[javac] C:\inc\bank\src\com\sun\ebank\web\template\DefinitionTag.java:59: inconvertible types
[javac] found : javax.servlet.jsp.JspContext
[javac] required: javax.servlet.jsp.PageContext
[javac] PageContext context = (PageContext)getJspContext();
[javac] ^
[javac] C:\inc\bank\src\com\sun\ebank\web\template\InsertTag.java:58: inconvertible types
[javac] found : javax.servlet.jsp.JspContext
[javac] required: javax.servlet.jsp.PageContext
[javac] javax.servlet.jsp.PageContext context = (PageContext)getJspContext();
[javac] ^
[javac] 2 errors
I haven't modified the files in question, they are straight from the tutorial. Everywhere I have checked the syntax appears to be correct. Any suggestions?