Including external jar in Tomcat ClassPath

前端 未结 3 395
情话喂你
情话喂你 2020-12-06 04:47

In Tomcat I want to use a jar inside a web application. The jar file will exist outside of the Tomcat directory.

To include the jar file in tomcat classpath, I modi

3条回答
  •  再見小時候
    2020-12-06 05:11

    I find myself copying extra JARs, which should be available for all contexts and should therefor go into the root loader, into the following directory:

     C:\Program Files\Apache Software Foundation\Tomcat 9.0\lib
    

    But this only possible if you have access to this directory, which might not be the case for all ISPs. At least you can do it at home.

    Bye

提交回复
热议问题