When I run "ant -f jboss-build.xml compile" command,I get the errors in the console:
Buildfile: jboss-build.xml
prepare:
compile:
[javac] Compiling 4 source files to D:\Sun\AppServer\j2eetutorial14\examples
\bank\build
[javac] D:\Sun\AppServer\j2eetutorial14\examples\bank\src\com\sun\ebank\web\
template\DefinitionTag.java:67: inconvertible types
[javac] found : javax.servlet.jsp.JspContext
[javac] required: javax.servlet.jsp.PageContext
[javac] PageContext context = (PageContext) getJspContext();
[javac] ^
[javac] D:\Sun\AppServer\j2eetutorial14\examples\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] PageContext context = (PageContext) getJspContext();
[javac] ^
[javac] D:\Sun\AppServer\j2eetutorial14\examples\bank\src\com\sun\ebank\web\
template\InsertTag.java:93: cannot resolve symbol
[javac] symbol : constructor JspTagException (java.lang.String,java.lang.Th
rowable)
[javac] location: class javax.servlet.jsp.JspTagException
[javac] throw new JspTagException(ex.getMessage(), rootCause);
[javac] ^
[javac] 3 errors
BUILD FAILED
D:\Sun\AppServer\j2eetutorial14\examples\bank\jboss-build.xml:49: Compile failed
; see the compiler error output for details.
Total time: 7 seconds
Any suggestions?
Thanks.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849520#3849520
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849520
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user