Tokio Marine Holdings
Last activity: 12 Apr 2016 2:36 EDT
How to set classpath of external jar
I’d like to know how to set the classpath of external Jar.
(1) I made a Jar file “/var/tmp/Test.jar” that has class file “jp.co.test.Test”,
(2) Selecting DesignerStudio > System > Settings > Compiler, I entered “var/tmp/Test.jar” at Default Paths and click “Submit”.
(3) Reboot tomcat.
(4) “Jar added to compile time class path /var/tmp/test1.jar” was logged on catalina.out when rebooting tomcat.
(5) I couldn’t crete connect java on Connector Wizard.
But when I place the same jar file in “/var/lib/tomcat-6/webapps/prweb/WEB-INF/lib/“, I can connect “jp.co.test.Test” without Default Paths setting.
Could you tell me how to connect Java when I place jar file outside of “/WEB-INF/lib” directory.