5 Replies Latest reply on Apr 10, 2004 10:53 PM by billbum

    build error "package javax.servlet.http does not exist"

    billbum

      Hi,

      When I build the source code, I got errors of "package javax.servlet.http does not exist", etc.
      This must be a simple question for you (though I just couldn't find the answer).

      What I have done were as follows:

      * Download nukes-snapshot.tar.gz and expand it into /myworkdir/

      # export JBOSS_HOME=/myworkdir/jboss-3.2.4RC1/

      # export TOMCAT_HOME=/myworkdir/jakarta-tomcat-5.0.16

      # export CLASSPATH=.:$TOMCAT_HOME/common/lib/servlet-api.jar:$TOMCAT_HOME/common/lib/jsp-api.jar

      # cd /myworkdir/nukes-snapshot/build/

      # chmod u+x build.sh

      # ./build.sh

      ==> FAILED

      Could anyone tell me how to build Nukes?
      Many Thanks.

      Bill

        • 1. Re: build error
          billbum

          minor correction to my previous post:

          # export JBOSS_HOME=/myworkdir/jboss-3.2.4RC1/

          should be

          # export JBOSS_HOME=/myworkdir/jboss-3.2.4RC1

          which doesn't have the "/" at the end

          Anyway, both values of JBOSS_HOME will cause the same errors happen.

          Bill

          • 2. Re: build error
            billbum

            I forgot to mention that the build works for jboss-3.2.3, but it doesn't work with jboss-3.2.4RC1. Thanks.

            • 3. Re: build error


              I don't think anybody has been compiling against 3.2.4 yet.

              The current Nukes build assumes that the javax.servlet.jar is in ${jboss.home}/server/default/lib.

              Sherman

              • 4. Re: build error

                3.2.4 will not work because of some changes in JMX (1.2)

                • 5. Re: build error
                  billbum

                  Thank you for your answers. -Bill