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