[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Application Problem
bentabol
do-not-reply at jboss.com
Wed Nov 14 10:08:54 EST 2007
Hello,
When I try to compile Duke's Bank Application, I obtain the next errors:
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\DefinitionTag.java:31: package javax.servlet.jsp does not exist
[javac] import javax.servlet.jsp.JspTagException;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\DefinitionTag.java:32: package javax.servlet.jsp does not exist
[javac] import javax.servlet.jsp.PageContext;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\DefinitionTag.java:33: package javax.servlet.jsp.tagext does not
exist
[javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\DefinitionTag.java:37: cannot find symbol
[javac] symbol: class SimpleTagSupport
[javac] public class DefinitionTag extends SimpleTagSupport {
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\InsertTag.java:32: package javax.servlet.jsp does not exist
[javac] import javax.servlet.jsp.JspTagException;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\InsertTag.java:33: package javax.servlet.jsp does not exist
[javac] import javax.servlet.jsp.PageContext;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\InsertTag.java:34: package javax.servlet.jsp.tagext does not exi
st
[javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\InsertTag.java:38: cannot find symbol
[javac] symbol: class SimpleTagSupport
[javac] public class InsertTag extends SimpleTagSupport {
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\InsertTag.java:54: cannot find symbol
[javac] symbol : class JspTagException
[javac] location: class com.sun.ebank.web.template.InsertTag
[javac] public void doTag() throws JspTagException {
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\ParameterTag.java:31: package javax.servlet.jsp.tagext does not
exist
[javac] import javax.servlet.jsp.tagext.*;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\ParameterTag.java:32: package javax.servlet.jsp does not exist
[javac] import javax.servlet.jsp.PageContext;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\ParameterTag.java:36: cannot find symbol
[javac] symbol: class SimpleTagSupport
[javac] public class ParameterTag extends SimpleTagSupport {
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\ScreenTag.java:31: package javax.servlet.jsp.tagext does not exi
st
[javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\ScreenTag.java:32: package javax.servlet.jsp does not exist
[javac] import javax.servlet.jsp.PageContext;
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\ScreenTag.java:36: cannot find symbol
[javac] symbol: class SimpleTagSupport
[javac] public class ScreenTag extends SimpleTagSupport {
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\DefinitionTag.java:62: cannot find symbol
[javac] symbol : method getJspBody()
[javac] location: class com.sun.ebank.web.template.DefinitionTag
[javac] getJspBody()
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\DefinitionTag.java:66: cannot find symbol
[javac] symbol : class PageContext
[javac] location: class com.sun.ebank.web.template.DefinitionTag
[javac] PageContext context = (PageContext) getJspContext();
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\DefinitionTag.java:66: cannot find symbol
[javac] symbol : class PageContext
[javac] location: class com.sun.ebank.web.template.DefinitionTag
[javac] PageContext context = (PageContext) getJspContext();
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\DefinitionTag.java:66: cannot find symbol
[javac] symbol : method getJspContext()
[javac] location: class com.sun.ebank.web.template.DefinitionTag
[javac] PageContext context = (PageContext) getJspContext();
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\InsertTag.java:58: cannot find symbol
[javac] symbol : class PageContext
[javac] location: class com.sun.ebank.web.template.InsertTag
[javac] PageContext context = (PageContext) getJspContext();
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\InsertTag.java:58: cannot find symbol
[javac] symbol : class PageContext
[javac] location: class com.sun.ebank.web.template.InsertTag
[javac] PageContext context = (PageContext) getJspContext();
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\InsertTag.java:58: cannot find symbol
[javac] symbol : method getJspContext()
[javac] location: class com.sun.ebank.web.template.InsertTag
[javac] PageContext context = (PageContext) getJspContext();
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\InsertTag.java:92: cannot find symbol
[javac] symbol : class JspTagException
[javac] location: class com.sun.ebank.web.template.InsertTag
[javac] throw new JspTagException(ex.getMessage(), rootCause);
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\ParameterTag.java:70: cannot find symbol
[javac] symbol : method getParent()
[javac] location: class com.sun.ebank.web.template.ParameterTag
[javac] ((ScreenTag) getParent()).getParameters();
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\ScreenTag.java:55: cannot find symbol
[javac] symbol : method getParent()
[javac] location: class com.sun.ebank.web.template.ScreenTag
[javac] HashMap screens = (HashMap) ((DefinitionTag) getParent()).ge
tScreens();
[javac] ^
[javac] C:\PaulaBentabol\Portal\j2eetutorial14\examples\bank\src\com\sun\eba
nk\web\template\ScreenTag.java:63: cannot find symbol
[javac] symbol : method getJspBody()
[javac] location: class com.sun.ebank.web.template.ScreenTag
[javac] getJspBody()
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 26 errors
Does anyone know why is this happening?. Could please anyone help me?.
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104629#4104629
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104629
More information about the jboss-user
mailing list