idea and tomcat classpath (like in Eclipse)

hi,

it is possible to add some .jar files (eg. tools.jar, jdbc drivers) to the classpath of Tomcat in Idea?

My web application refuse to run because the the tools.jar is not found. I have put it in the WEB-INF/lib of my Web application but it still not work.

In Eclipse for example i put these jar files in the JVM classpath of tomcat eclipse plugin. (Window->Preferences->Tomcat->JVWSettings->Classpath(Before generated classpath)).
But in Idea I don't know where to put these files (tools.jar etc). If I put them in the WEB-INF/lib the tomcat is not working properly - these files are not found. The following error occurs:
Exception compiling Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

I'm using Idea 1171 and tomcat 4.1.24

10x,
Mihai

2 comments

In the later builds, the run/debug configuration - webapps tab has a check
box for "Include module classpath".

Works great for me.

--
Norris Shelton
Sun Certified Java Programmer


"Mihai Jurca" <mihaijurca@yahoo.com> wrote in message
news:28362503.1076423216655.JavaMail.itn@is.intellij.net...

hi,

>

it is possible to add some .jar files (eg. tools.jar, jdbc drivers) to the

classpath of Tomcat in Idea?
>

My web application refuse to run because the the tools.jar is not found. I

have put it in the WEB-INF/lib of my Web application but it still not work.
>

In Eclipse for example i put these jar files in the JVM classpath of

tomcat eclipse plugin.
(Window->Preferences->Tomcat->JVWSettings->Classpath(Before generated
classpath)).

But in Idea I don't know where to put these files (tools.jar etc). If I

put them in the WEB-INF/lib the tomcat is not working properly - these files
are not found. The following error occurs:

Exception compiling Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

>

I'm using Idea 1171 and tomcat 4.1.24

>

10x,
Mihai



0

I installed the latest build (1151) and my problem persists.
I have the tools.jar in my classpath, the application deploys correctly but when I want to use it from browser the same error occurs:
Exception compiling Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

here is my tomcat output when it starts:
C:/java/java1.4.2/j2sdk1.4.2\bin\java -DIafMOD=/wsad/www -Dcom.deere.rc.reporter=generic -DIafConfigSuffix=Local -Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl -Djava.endorsed.dirs=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\bin;C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib -Dcatalina.base=C:\IDE\idea1151\system\tomcat_Elvis_f86bd14c -Dcatalina.home=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14 -Djava.io.tmpdir=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\temp -Dfile.encoding=windows-1252 -classpath "C:\java\java1.4.2\j2sdk1.4.2\lib\tools.jar;C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\bin\bootstrap.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\charsets.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\jce.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\jsse.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\plugin.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\rt.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\sunrsasign.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\ext\dnsns.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\ext\ldapsec.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\ext\localedata.jar;C:\java\java1.4.2\j2sdk1.4.2\jre\lib\ext\sunjce_provider.jar;C:\dev\elvis\modules\Elvis\Web Content\WEB-INF\classes;C:\dev\elvis\modules\IAF Configuration Framework\bin;C:\dev\elvis\modules\Resources\deere\was5\IafUtility.jar;C:\dev\elvis\modules\Resources\servlet\2.3\servlet.jar;C:\dev\elvis\modules\Resources\apache\junit\junit.jar;C:\dev\elvis\modules\IAF Log Framework\bin;C:\dev\elvis\modules\Resources\javax\activation.jar;C:\dev\elvis\modules\Resources\javax\mailapi.jar;C:\dev\elvis\modules\SourceWorks\bin;C:\dev\elvis\modules\Resources\servlet\2.2\servlet.jar;C:\dev\elvis\modules\SourceWorks Application\bin;C:\dev\elvis\modules\Resources\apache\commons-logging-1.0.2\commons-logging-api.jar;C:\dev\elvis\modules\Resources\deere\was5\IafJdbcConnectionFramework.jar;C:\dev\elvis\modules\Resources\deere\was5\IafJimsiFramework.jar;C:\dev\elvis\modules\Resources\sap\WAS\3.5\ivjsap35.jar;C:\dev\elvis\modules\Resources\javax\jdbc2_0-stdext.jar;C:\dev\elvis\modules\SourceWorks Tag 1.2\bin;C:\dev\elvis\modules\Resources\servlet\jstl\1.03\jstl.jar;C:\dev\elvis\modules\Resources\servlet\jstl\1.03\standard.jar;C:\dev\elvis\modules\WebWorks Framework\bin;C:\dev\elvis\modules\Resources\javax\mail.jar;C:\dev\elvis\modules\Resources\other\oreilly.jar;C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\jasper-runtime.jar;C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\servlet.jar;C:\dev\elvis\modules\Resources\jdbc\mysql\mysql-connector-java-3.0.9-stable-bin.jar;C:\IDE\idea1151\lib\idea_rt.jar" -Didea.launcher.port=7533 -Didea.launcher.library=C:\IDE\idea1151\bin\breakgen.dll com.intellij.rt.execution.application.AppMain org.apache.catalina.startup.Bootstrap start
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24-LE-jdk14
10-Feb-2004 17:25:11 org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
10-Feb-2004 17:25:11 org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
10-Feb-2004 17:25:12 org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
10-Feb-2004 17:25:12 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting DevLoader
WebappLoader[/elvis]: Starting this Loader
WebappLoader[/elvis]: Deploying class repositories to work directory C:\IDE\idea1151\system\tomcat_Elvis_f86bd14c
WebappLoader[/elvis]: Deploy class files /WEB-INF/classes to C:\dev\elvis\modules\Elvis\work\WEB-INF\classes
WebappClassLoader: addRepository(/WEB-INF/classes/)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/IafJdbcConnectionFramework.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\IafJdbcConnectionFramework.jar
WebappClassLoader: addJar(/WEB-INF/lib/IafJdbcConnectionFramework.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/IafLogViewer.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\IafLogViewer.jar
WebappClassLoader: addJar(/WEB-INF/lib/IafLogViewer.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/IafUtility.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\IafUtility.jar
WebappClassLoader: addJar(/WEB-INF/lib/IafUtility.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/dom.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\dom.jar
WebappClassLoader: addJar(/WEB-INF/lib/dom.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/jaxen-full.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jaxen-full.jar
WebappClassLoader: addJar(/WEB-INF/lib/jaxen-full.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/jaxp-api.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jaxp-api.jar
WebappClassLoader: addJar(/WEB-INF/lib/jaxp-api.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/jdbc2_0-stdext.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jdbc2_0-stdext.jar
WebappClassLoader: addJar(/WEB-INF/lib/jdbc2_0-stdext.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/jstl.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jstl.jar
WebappClassLoader: addJar(/WEB-INF/lib/jstl.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/sax.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\sax.jar
WebappClassLoader: addJar(/WEB-INF/lib/sax.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/saxpath.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\saxpath.jar
WebappClassLoader: addJar(/WEB-INF/lib/saxpath.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/standard.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\standard.jar
WebappClassLoader: addJar(/WEB-INF/lib/standard.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/xalan.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\xalan.jar
WebappClassLoader: addJar(/WEB-INF/lib/xalan.jar)
WebappLoader[/elvis]: Deploy JAR /WEB-INF/lib/xercesImpl.jar to C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\xercesImpl.jar
WebappClassLoader: addJar(/WEB-INF/lib/xercesImpl.jar)
WebappLoader[/elvis]: Optional Packages: available=5, required=0
WebappLoader[/elvis]: Reloading checks are enabled for this Context
WebappLoader[/elvis]: Starting background thread
projectdir=C:\dev\elvis\modules\Elvis
WebappLoader[/elvis]: BACKGROUND THREAD Starting
added file:/C:/dev/elvis/elvis/eclipse/workspace/Elvis/Web Content/WEB-INF/classes/
added file:/C:/dev/elvis/elvis/eclipse/workspace/SourceWorks/bin/
added file:/C:/dev/elvis/elvis/eclipse/workspace/SourceWorks Application/bin/
added file:/C:/dev/elvis/elvis/eclipse/workspace/IAF Configuration Framework/bin/
added file:/C:/dev/elvis/elvis/eclipse/workspace/IAF Log Framework/bin/
added file:/C:/dev/elvis/elvis/eclipse/workspace/SourceWorks Tag 1.2/bin/
added file:/C:/dev/elvis/elvis/eclipse/workspace/WebWorks Framework/bin/
JSPCompiler Classpath = C:\dev\elvis\elvis\eclipse\workspace\Elvis\Web Content\WEB-INF\classes;C:\dev\elvis\elvis\eclipse\workspace\SourceWorks\bin;C:\dev\elvis\elvis\eclipse\workspace\SourceWorks Application\bin;C:\dev\elvis\elvis\eclipse\workspace\IAF Configuration Framework\bin;C:\dev\elvis\elvis\eclipse\workspace\IAF Log Framework\bin;C:\dev\elvis\elvis\eclipse\workspace\SourceWorks Tag 1.2\bin;C:\dev\elvis\elvis\eclipse\workspace\WebWorks Framework\bin;C:/dev/elvis/modules/Elvis/work/WEB-INF/classes/;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/IafJdbcConnectionFramework.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/IafLogViewer.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/IafUtility.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/dom.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jaxen-full.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jaxp-api.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jdbc2_0-stdext.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jstl.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/sax.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/saxpath.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/standard.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/xalan.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/xercesImpl.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/classes/;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/ant.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/commons-collections.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/commons-logging-api.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/jasper-compiler.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/jasper-runtime.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/naming-common.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/naming-factory.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/naming-resources.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/servlet.jar;
StandardManager[/elvis]: Seeding random number generator class java.security.SecureRandom
StandardManager[/elvis]: Seeding of random number generator has been completed
....

as we can see the tools.jar is in the tomcat classpath.

here is the complete error log

Error compiling file: C:\IDE\idea1151\system\tomcat_Elvis_f86bd14c\work\_scratchdir\WEB-INF\jsp\local\/defaultLogin_jsp.java Compiling 1 source file


Info: Compile: javaFileName=C:\IDE\idea1151\system\tomcat_Elvis_f86bd14c\work\_scratchdir\WEB-INF\jsp\local\/defaultLogin_jsp.java
classpath=/C:/dev/elvis/modules/Elvis/work/WEB-INF/classes/;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/IafJdbcConnectionFramework.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/IafLogViewer.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/IafUtility.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/dom.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jaxen-full.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jaxp-api.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jdbc2_0-stdext.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jstl.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/sax.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/saxpath.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/standard.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/xalan.jar;/C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/xercesImpl.jar;/C:/dev/elvis/elvis/eclipse/workspace/Elvis/Web Content/WEB-INF/classes/;/C:/dev/elvis/elvis/eclipse/workspace/SourceWorks/bin/;/C:/dev/elvis/elvis/eclipse/workspace/SourceWorks Application/bin/;/C:/dev/elvis/elvis/eclipse/workspace/IAF Configuration Framework/bin/;/C:/dev/elvis/elvis/eclipse/workspace/IAF Log Framework/bin/;/C:/dev/elvis/elvis/eclipse/workspace/SourceWorks Tag 1.2/bin/;/C:/dev/elvis/elvis/eclipse/workspace/WebWorks Framework/bin/;C:\dev\elvis\elvis\eclipse\workspace\Elvis\Web Content\WEB-INF\classes;C:\dev\elvis\elvis\eclipse\workspace\SourceWorks\bin;C:\dev\elvis\elvis\eclipse\workspace\SourceWorks Application\bin;C:\dev\elvis\elvis\eclipse\workspace\IAF Configuration Framework\bin;C:\dev\elvis\elvis\eclipse\workspace\IAF Log Framework\bin;C:\dev\elvis\elvis\eclipse\workspace\SourceWorks Tag 1.2\bin;C:\dev\elvis\elvis\eclipse\workspace\WebWorks Framework\bin;C:/dev/elvis/modules/Elvis/work/WEB-INF/classes/;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/IafJdbcConnectionFramework.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/IafLogViewer.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/IafUtility.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/dom.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jaxen-full.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jaxp-api.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jdbc2_0-stdext.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/jstl.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/sax.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/saxpath.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/standard.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/xalan.jar;C:/dev/elvis/modules/Elvis/work/WEB-INF/lib/xercesImpl.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/classes/;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/ant.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/commons-collections.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/commons-logging-api.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/jasper-compiler.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/jasper-runtime.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/naming-common.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/naming-factory.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/naming-resources.jar;C:/dev/elvis/servers/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/servlet.jar;
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\classes
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\IafJdbcConnectionFramework.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\IafLogViewer.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\IafUtility.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\dom.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jaxen-full.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jaxp-api.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jdbc2_0-stdext.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jstl.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\sax.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\saxpath.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\standard.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\xalan.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\xercesImpl.jar
cp=C:\dev\elvis\elvis\eclipse\workspace\Elvis\Web Content\WEB-INF\classes
cp=C:\dev\elvis\elvis\eclipse\workspace\SourceWorks\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\SourceWorks Application\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\IAF Configuration Framework\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\IAF Log Framework\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\SourceWorks Tag 1.2\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\WebWorks Framework\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\Elvis\Web Content\WEB-INF\classes
cp=C:\dev\elvis\elvis\eclipse\workspace\SourceWorks\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\SourceWorks Application\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\IAF Configuration Framework\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\IAF Log Framework\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\SourceWorks Tag 1.2\bin
cp=C:\dev\elvis\elvis\eclipse\workspace\WebWorks Framework\bin
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\classes
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\IafJdbcConnectionFramework.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\IafLogViewer.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\IafUtility.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\dom.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jaxen-full.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jaxp-api.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jdbc2_0-stdext.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\jstl.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\sax.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\saxpath.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\standard.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\xalan.jar
cp=C:\dev\elvis\modules\Elvis\work\WEB-INF\lib\xercesImpl.jar
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\classes
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\ant.jar
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\commons-collections.jar
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\commons-logging-api.jar
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\jasper-compiler.jar
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\jasper-runtime.jar
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\naming-common.jar
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\naming-factory.jar
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\naming-resources.jar
cp=C:\dev\elvis\servers\jakarta-tomcat-4.1.24-LE-jdk14\common\lib\servlet.jar
work dir=C:\IDE\idea1151\system\tomcat_Elvis_f86bd14c\work\_scratchdir
srcDir=C:\IDE\idea1151\system\tomcat_Elvis_f86bd14c\work\_scratchdir
include=WEB-INF/jsp/local/defaultLogin_jsp.java
Exception compiling Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Exception:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
.....


any ideas?
PS.
my web app is working fine in Eclipse

0

Please sign in to leave a comment.