Question

6
Replies
4085
Views
KoheiYoshi Member since 2014 7 posts
Tokio Marine Holdings
Posted: 4 years ago
Last activity: 4 years 6 months ago
Closed
Solved

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.

Thank you

Data Integration
Moderation Team has archived post
Share this page LinkedIn