4 Replies Latest reply on Jan 13, 2004 5:11 PM by wenegro

    Duke's Bank - build failed

    wenegro Newbie

      Hi!

      I'm trying to run dukes bank application on jboss 3.2.3 (j2ee 1.4).
      I've got the files from the jbossj2ee tutorial and get following error messages, when I try to compile

      [javac] Compiling 55 source files to C:\mmis2\j2eetutorial14\examples\bank\build
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\DefinitionTag.java:31: cannot resolve symbol

      [javac] symbol : class SimpleTagSupport
      [javac] location: package tagext
      [javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\DefinitionTag.java:34: cannot resolve symbol

      [javac] symbol : class SimpleTagSupport
      [javac] location: class com.sun.ebank.web.template.DefinitionTag
      [javac] public class DefinitionTag extends SimpleTagSupport {
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\InsertTag.java:33: cannot resolve symbol
      [javac] symbol : class SimpleTagSupport
      [javac] location: package tagext
      [javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\InsertTag.java:36: cannot resolve symbol
      [javac] symbol : class SimpleTagSupport
      [javac] location: class com.sun.ebank.web.template.InsertTag
      [javac] public class InsertTag extends SimpleTagSupport {
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\ParameterTag.java:33: cannot resolve symbol
      [javac] symbol : class SimpleTagSupport
      [javac] location: class com.sun.ebank.web.template.ParameterTag
      [javac] public class ParameterTag extends SimpleTagSupport {
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\ScreenTag.java:29: cannot resolve symbol
      [javac] symbol : class SimpleTagSupport
      [javac] location: package tagext
      [javac] import javax.servlet.jsp.tagext.SimpleTagSupport;
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\ScreenTag.java:33: cannot resolve symbol
      [javac] symbol : class SimpleTagSupport
      [javac] location: class com.sun.ebank.web.template.ScreenTag
      [javac] public class ScreenTag extends SimpleTagSupport {
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\DefinitionTag.java:56: cannot resolve symbol

      [javac] symbol : method getJspBody ()
      [javac] location: class com.sun.ebank.web.template.DefinitionTag
      [javac] getJspBody().invoke(null);
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\DefinitionTag.java:59: cannot resolve symbol

      [javac] symbol : method getJspContext ()
      [javac] location: class com.sun.ebank.web.template.DefinitionTag
      [javac] PageContext context = (PageContext)getJspContext();
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\InsertTag.java:53: cannot resolve symbol
      [javac] symbol : method getJspContext ()
      [javac] location: class com.sun.ebank.web.template.InsertTag
      [javac] PageContext context = (PageContext)getJspContext();
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\InsertTag.java:78: cannot resolve symbol
      [javac] symbol : constructor JspTagException (java.lang.String,java.lang.Throwable)
      [javac] location: class javax.servlet.jsp.JspTagException
      [javac] throw new JspTagException(ex.getMessage(), rootCause);
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\ParameterTag.java:60: cannot resolve symbol
      [javac] symbol : method getParent ()
      [javac] location: class com.sun.ebank.web.template.ParameterTag
      [javac] ArrayList parameters = ((ScreenTag)getParent()).getParameters();
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\ScreenTag.java:49: cannot resolve symbol
      [javac] symbol : method getParent ()
      [javac] location: class com.sun.ebank.web.template.ScreenTag
      [javac] HashMap screens = (HashMap)((DefinitionTag)getParent()).getScreens();
      [javac] ^
      [javac] C:\mmis2\j2eetutorial14\examples\bank\src\com\sun\ebank\web\template\ScreenTag.java:54: cannot resolve symbol
      [javac] symbol : method getJspBody ()
      [javac] location: class com.sun.ebank.web.template.ScreenTag
      [javac] getJspBody().invoke(null);
      [javac] ^
      [javac] 14 errors


      Plese help me!!

      regards werner