tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patterson, David" <david.patter...@wcpenfold.com.au>
Subject RE: Problems with a tomcat build.
Date Mon, 09 Jul 2001 23:08:00 GMT
ANT.jar was not in the class path. (Duh!)

Thanks all.

Dave P.

	-----Original Message-----
	From:	Patterson, David 
	Sent:	Monday, July 09, 2001 2:06 PM
	To:	'tomcat-user@jakarta.apache.org'
	Subject:	RE: Problems with a tomcat build.

	I put the XML and SSL jars in a directory of the JDK. I think it was
/ext. If I read the doco correctly the compiler will look there before it
checks the CLASSPATH. 

	I was pretty boggled at that stage so I could have easily missed
one. I'll check it out tonight.

	Thanks.

	Dave Patterson.

		-----Original Message-----
		From:	xxx [SMTP:qbbuuonf@yahoo.com.hk]
		Sent:	Monday, July 09, 2001 1:44 PM
		To:	tomcat-user@jakarta.apache.org
		Subject:	Re: Problems with a tomcat build.

		On Mon, 9 Jul 2001 11:49:31 +1000 , you wrote:
		Have you include ant.jar, tools.jar, jaxp.jar, parser.jar,
jsse.jar
		and servlet.jar in your classpath?

		Dave


		>I'm installing a tomcat container from source on redhat 7.
		>
		>I installed Sun JDK 1.3.1.
		>I installed the XML Parser and ANT. (Ant built with no
errors.)
		>I installed the SSL extension classes.
		>I built and installed the servlet API. (Again, no errors.)
		>
		>The jdk/bin is in $PATH
		>
		>When I come to run the build.sh for tomcat I get the
following
		>result:Searching for build.xml ...
		>Buildfile: /usr/local/etc/jakarta/jakarta-tomcat/build.xml
		>
		>prepare:
		>tomcat:
		>    [javac] Compiling 5 source files to
		>/usr/local/etc/jakarta/build/tomcat/classes
		>    [javac]
	
>/usr/local/etc/jakarta/jakarta-tomcat/src/share/org/apache/jasper/compiler/
J
		>spCompiler.java:136:
		>Method getClassName(java.lang.String) not found in class
		>org.apache.jasper.compiler.ClassName.
		>    [javac]             realClassName =
ClassName.getClassName(
		>getClassFileName() );
		>    [javac]
^

		<snip>

		>    [javac] 10 errors, 1 warning
		>
		>Total time: 4 seconds
		>
		>Any guess what I screwed up this time? 
		>
		>A google search threw up 3 other people who had the same
problem but
		>no answer
		>
		>:(
		>
		>TIA
		>
		>Dave P.

Mime
View raw message