You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Amandeep Jawa <de...@imagelock.com> on 2000/09/01 23:33:45 UTC
Newbie needs help & the FAQ is down!
Hey folks -
Sorry to ask this here but I have been trying to figure out how to get
Velocity running with no luck & the Jakarta FAQ has been down for the last 2
days......
I'm trying to get Velocity up & running on my Win2000 box (& later
Solaris) - but I keep running into problem after problem!
So far I think I have ant set up ok - but I can't prove it.... & now when I
try to build velocity (using the /buil/build-velocity.bat) I get the
following output.....
-------------------------------------------------------
C:\Development\CVSVelo\jakarta-velocity\build>build-velocity
Now building jar...
Classpath: C:\sybase\ASEP\3pclass.zip;C:\sybase\ASEP\monclass.zip;C:\Program
Fil
es\Sybase\Shared\Sun\jdk118\lib\classes.zip;C:\Program Files\Sybase\Jaguar
CTS 3
.5\html\classes;C:\Program Files\Sybase\Jaguar CTS
3.5\java\classes;C:\Program F
iles\Sybase\Shared\PowerBuilder\classes.zip;.;C:\jdk1.3\lib\tools.jar;C:\jdk
1.3\
lib\tools.jar;;ant.jar;xml.jar
JAVA_HOME: C:\jdk1.3
Buildfile: build-velocity.xml
[chmod] The src attribute is deprecated. Please use the file attribute.
init:
prepare:
compile:
[javac] Compiling 67 source files to
C:\Development\CVSVelo\jakarta-velocity
\bin\classes
BUILD FAILED
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:527)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:295)
at org.apache.tools.ant.Target.execute(Target.java:132)
at org.apache.tools.ant.Project.runTarget(Project.java:717)
at org.apache.tools.ant.Project.executeTarget(Project.java:448)
at org.apache.tools.ant.Project.executeTargets(Project.java:422)
at org.apache.tools.ant.Main.runBuild(Main.java:279)
at org.apache.tools.ant.Main.main(Main.java:107)
Total time: 1 seconds
-------------------------------------------------------
Arrgh - OK I have the tools.jar in my path (TWICE - but that should be OK
right?) & I get the no Javac error you see above - any help would be VERY
appreciated!
'deep
--------------------------
Amandeep Jawa
Imagelock, Inc.
--------------------------
deep@imagelock.com
1725 Montgomery St
San Francisco CA 94111
Work: 415 616 7262 (616 SAMBA)
Fax: 415 392 5382
http://www.imagelock.com