tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thøger Søndergaard Jensen <t...@post2.tele.dk>
Subject Newbie problem with Sample application
Date Thu, 27 Apr 2000 21:05:05 GMT
Question from a newbie :-)
When I try to execute the build.bat file in the sample application I get
this message. Anybody have an idea what’s wrong?
The classpath is shown below. OS = win2k

Thanks!

C:\jakarta-tomcat\doc\appdev\sample>java
org.apache.tools.ant.Main -Dtomcat.home=C:\jakarta-tomcat

Buildfile: build.xml
Project base dir set to: C:\jakarta-tomcat\doc\appdev\sample
The items attribute is deprecated. Please use the includes attribute.
The items attribute is deprecated. Please use the includes attribute.
Executing Target: prepare
Executing Target: compile
Compiling 1 source files to C:\jakarta-tomcat\webapps\myapp\WEB-INF\classes
Exception in thread "main" java.lang.NoClassDefFoundError:
sun/tools/javac/Main
        at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java,
Compiled Code)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java, Compiled
Code)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:675)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Code)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java, Compiled Code)



Classpath:
.;C:\wrox\com;C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\runtime.zip;C:\SQLLI
B\java\sqlj.zip;C:\IBMXMLTools\lib\sql2xml.jar;C:\lotusxsl\scr;C:\jakarta--o
mcat\classes;C:\jdk1.2.2\lib\tools,jar;C:\jakarta-tomcat\lib\ant.jar;C:\jaka
rta-tomcat\lib\jasper.jar;C:\jakarta-tomcat\lib\servlet.jar;C:\jakarta-tomca
t\lib\webserver.jar;C:\jakarta-tomcat\lib\xml.jar.;C:\wrox\com;C:\SQLLIB\jav
a\db2java.zip;C:\SQLLIB\java\runtime.zip;C:\SQLLIB\java\sqlj.zip;C:\IBMXMLTo
ols\lib\sql2xml.jar;C:\lotusxsl\scr;C:\jakarta-tomcat\classes;C:\jdk1.2.2\li
b\tools,jar;C:\jakarta-tomcat\lib\ant.jar;C:\jakarta-tomcat\lib\jasper.jar;C
:\jakarta-tomcat\lib\servlet.jar;C:\jakarta-tomcat\lib\webserver.jar;C:\jaka
rta-tomcat\lib\xml.jar


Mime
View raw message