2 Replies Latest reply on Aug 13, 2003 7:56 AM by Dave Gubrud

    Build Failed

    mmerla Newbie

      Hello Everybody,
      I am trying to get Nukes working. I am following the instructions on the JBoss tutorial page.
      http://www.jboss.org/index.html?module=html&op=userdisplay&id=developers/projects/nukes/tutorial
      I downloaded the source fropm cvs on August 12.
      I get the following error


      configure:

      configure-libraries:

      configure-modules:

      configure-defaults:

      configure-tools:

      _configure:xdoclet:tasks:

      _configure:xdoclet:ejbdoclet:

      _default:init:

      init:

      generate-classes:
      Overriding previous definition of reference to ejbdoclet.task.classpath
      [mkdir] Created dir: C:\downaloads\nukes\nukes\output\gen\classes
      [ejbdoclet] [INFO] start - -Running
      [ejbdoclet] Generating Local interface for 'org.jboss.nukes.core.ejb.UserEJB'.
      [ejbdoclet] Generating Local interface for 'org.jboss.nukes.core.ejb.GroupEJB'.
      [ejbdoclet] Generating Local interface for 'org.jboss.nukes.core.ejb.FileEJB'.
      [ejbdoclet] Generating Local interface for 'org.jboss.nukes.core.ejb.AbstractUserEJB'.
      [ejbdoclet] Generating Local interface for 'org.jboss.nukes.core.ejb.AbstractGroupEJB'.
      [ejbdoclet] Generating Local interface for 'org.jboss.nukes.core.ejb.BaseEJB'.
      [ejbdoclet] [INFO] start - -Running
      [ejbdoclet] Generating Local Home interface for 'org.jboss.nukes.core.ejb.UserEJB'.
      [ejbdoclet] Generating Local Home interface for 'org.jboss.nukes.core.ejb.GroupEJB'.
      [ejbdoclet] Generating Local Home interface for 'org.jboss.nukes.core.ejb.FileEJB'.
      [ejbdoclet] Generating Local Home interface for 'org.jboss.nukes.core.ejb.AbstractUserEJB'.
      [ejbdoclet] Generating Local Home interface for 'org.jboss.nukes.core.ejb.AbstractGroupEJB'.
      [ejbdoclet] Generating Local Home interface for 'org.jboss.nukes.core.ejb.BaseEJB'.
      [ejbdoclet] [INFO] start - -Running
      [ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml).
      [ejbdoclet] [INFO] start - -Running
      [ejbdoclet] Generating jboss.xml.
      [ejbdoclet] Generating jbosscmp-jdbc.xml.
      [ejbdoclet] INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
      [ejbdoclet] (Perhaps the referred class doesn't exist? Hasn't been generated yet?)
      [ejbdoclet] The referring classes do not import any fully qualified classes matching these classes.
      [ejbdoclet] However, since no packages are imported, xjavadoc has assumed that the referred classes
      [ejbdoclet] belong to the same package as the referring class. The classes are:
      [ejbdoclet] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\core\ejb\UserEJB.java --> GroupEJBLocal qualified to org.jboss.nukes.core.ejb.GroupEJBLocal

      _default:compile-classes:
      [mkdir] Created dir: C:\downaloads\nukes\nukes\output\classes
      [depend] Deleted 0 out of date files in 0 seconds
      [javac] Compiling 122 source files to C:\downaloads\nukes\nukes\output\classes
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\flash\io\AMFSerializer.java:23: cannot resolve symbol
      [javac] symbol : class XmlDocument
      [javac] location: package tree
      [javac] import org.apache.crimson.tree.XmlDocument;
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\flash\io\AMFSerializer.java:227: cannot resolve symbol
      [javac] symbol : class XmlDocument
      [javac] location: class org.jboss.nukes.flash.io.AMFSerializer
      [javac] private void writeXML(XmlDocument value) throws IOException
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\core\modules\core\CoreModule.java:704: encode(java.lang.String) in java.net.URLEncoder cannot be applied to (java.lang.String,java.lang.String)
      [javac] value = URLEncoder.encode(key, charset);
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\flash\FlashHandler.java:118: cannot resolve symbol
      [javac] symbol : method getCause ()
      [javac] location: class org.jboss.nukes.flash.invoker.ServiceInvocationException
      [javac] e.getCause().printStackTrace();
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\flash\invoker\ServiceInvocationException.java:26: cannot resolve symbol
      [javac] symbol : constructor Exception (java.lang.Throwable)
      [javac] location: class java.lang.Exception
      [javac] super(cause);
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\flash\invoker\ServiceInvocationException.java:34: cannot resolve symbol
      [javac] symbol : constructor Exception (java.lang.Throwable)
      [javac] location: class java.lang.Exception
      [javac] super(cause);
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\flash\invoker\ServiceInvocationException.java:43: cannot resolve symbol
      [javac] symbol : class StackTraceElement
      [javac] location: class org.jboss.nukes.flash.invoker.ServiceInvocationException
      [javac] StackTraceElement[] stackTrace = cause.getStackTrace();
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\flash\invoker\ServiceInvocationException.java:43: cannot resolve symbol
      [javac] symbol : method getStackTrace ()
      [javac] location: class java.lang.Throwable
      [javac] StackTraceElement[] stackTrace = cause.getStackTrace();
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\flash\invoker\ServiceInvocationException.java:47: cannot resolve symbol
      [javac] symbol : class StackTraceElement
      [javac] location: class org.jboss.nukes.flash.invoker.ServiceInvocationException
      [javac] StackTraceElement element = stackTrace;
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\flash\io\AMFSerializer.java:133: cannot resolve symbol
      [javac] symbol : class XmlDocument
      [javac] location: class org.jboss.nukes.flash.io.AMFSerializer
      [javac] writeXML((XmlDocument) value);
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\servlet\ServletContextImpl.java:27: warning: log(java.lang.Exception,java.lang.String) in javax.servlet.ServletContext has been deprecated
      [javac] public class ServletContextImpl implements ServletContext
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\servlet\ServletContextImpl.java:27: warning: getServletNames() in javax.servlet.ServletContext has been deprecated
      [javac] public class ServletContextImpl implements ServletContext
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\servlet\ServletContextImpl.java:27: warning: getServlets() in javax.servlet.ServletContext has been deprecated
      [javac] public class ServletContextImpl implements ServletContext
      [javac] ^
      [javac] C:\downaloads\nukes\nukes\src\main\org\jboss\nukes\servlet\ServletContextImpl.java:27: warning: getServlet(java.lang.String) in javax.servlet.ServletContext has been deprecated
      [javac] public class ServletContextImpl implements ServletContext
      [javac] ^
      [javac] 10 errors
      [javac] 4 warnings

      BUILD FAILED

      file:C:/downaloads/nukes/nukes/../tools/etc/buildfragments/targets.ent:56: Compile failed; see the compiler error output for details.
      at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
      at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
      at org.apache.tools.ant.Task.perform(Task.java:319)
      at org.apache.tools.ant.Target.execute(Target.java:309)
      at org.apache.tools.ant.Target.performTasks(Target.java:336)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
      at org.apache.tools.ant.Main.runBuild(Main.java:610)
      at org.apache.tools.ant.Main.start(Main.java:196)
      at org.apache.tools.ant.Main.main(Main.java:235)