Tomcat 8 classloading - difference between JAR in [WEB-INF/lib] and [tomcat/lib]

前端 未结 2 700
悲&欢浪女
悲&欢浪女 2021-01-19 11:05

It says here that the common classloader is visible to all web application. So what is the difference between having a JAR file within the WEB-INF/lib folder of

2条回答
  •  太阳男子
    2021-01-19 11:19

    The tomcat/lib directory should be used for shared libraries for the whole web server and WEB-INF/lib only for one web application.

提交回复
热议问题