Hi,
I am attempting to use md_jk2, Tomcat5.0.19 , Ant
1.6.1 , and Apache 2, to serve web pages with jsp, and
other stuff. I am told through various tutorials that
I need all of these working together to be able to run
jsp pages.
I am having trouble with ant 1.6.1 when I attempt to
run it [ $ ant ] .
I get error message: Exception in thread "main"
java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/Launcher .
After looking through all of the files in my $ANT_HOME
directory, I found what looked to be a problem in
file: runant.pl. In this file was code which read:
push @ARGS, "org.apache.tools.ant.launch.Launcher,
@ANT_ARGS;
When I went up one directory from apache-ant-1.6.1/bin
-- where runant.pl sits, I found what appears to be
referred to in :
apache-ant-1.6.1/bin/docs/manual/api/org/apache/tools/ant/launch/Launcher.html
On this note, in runant.pl , this was written.
my $localpath = "$HOME/lib/ant-launcher.jar";
In this case, $HOME was set to:
/usr/local/apache1.6.1/bin (i.e. $ANT_HOME). However,
the directory for lib doesn't exist in bin, so I
declared $HOME to be /usr/local/apache1.6.1/
After making this change -- I still get the same error
message:
So, i changed:
push @ARGS, "org.apache.tools.ant.launch.Launcher,
@ANT_ARGS;
to read the same, except I added ".html" to the end of
"Launcher" -- as this is the name of the file.
It looks to me like the path to :
org.apache.tools.ant.launch.Launcher should be :
/usr/local/apache-ant-1.6.1/docs/manual/api/org/apache/tools/ant/launch/Launcher.html
But I am not sure how to write this in the Perl
syntax.
Does anyone have an understanding of what might be
wrong with my files configurement?
Any insight would be most appreciated.
Mike Parker
__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]