5 Replies Latest reply on Oct 30, 2002 9:01 PM by prabhakar chaganti

    Failure to build from source/non-CVS

    Alex Shneyderman Newbie

      I just downloaded the latest JBoss 3.0.3 source file and
      was trying to build it by using the instructions in Quick Start guide.

      It does not work for some reason. The messages I get in build.log:

      [execmodules]
      ======================================================================
      == Executing 'most' in module 'catalina'...
      ==

      _buildmagic:init:

      configure:

      init:

      compile-classes:
      [mkdir]Created dir: C:\projects\jboss-3.0.3-src\catalina\output\classes
      [javac]Compiling 28 source files to C:\projects\jboss-3.0.3-src\catalina\output\classes
      C:\projects\jboss-3.0.3-src\catalina\src\main\org\jboss\net\protocol\jndi\Handler.java:12: package org.apache.naming.resources does not exist
      import org.apache.naming.resources.DirContextURLConnection;
      ^
      C:\projects\jboss-3.0.3-src\catalina\src\main\org\jboss\net\protocol\jndi\Handler.java:13: package org.apache.naming.resources does not exist
      import org.apache.naming.resources.DirContextURLStreamHandler;
      ^
      C:\projects\jboss-3.0.3-src\catalina\src\main\org\jboss\net\protocol\jndi\Handler.java:31: cannot resolve symbol
      symbol : class DirContextURLStreamHandler
      location: class org.jboss.net.protocol.jndi.Handler
      extends DirContextURLStreamHandler
      ^
      C:\projects\jboss-3.0.3-src\catalina\src\main\org\jboss\test\tomcat\servlet\HelloEJB.java:6: package javax.servlet does not exist
      import javax.servlet.*;
      ^
      C:\projects\jboss-3.0.3-src\catalina\src\main\org\jboss\test\tomcat\servlet\HelloEJB.java:7: package javax.servlet.http does not exist
      import javax.servlet.http.*;
      ^
      C:\projects\jboss-3.0.3-src\catalina\src\main\org\jboss\test\tomcat\servlet\HelloEJB.java:21: cannot resolve symbol
      symbol : class HttpServlet
      location: class org.jboss.test.tomcat.servlet.HelloEJB
      public class HelloEJB extends HttpServlet
      ^
      :
      :
      :

      There are about 100 of errors.

      Does anyone have a clue as to how to fix it?

      Thanks in advance.
      Alex.