tomcat 类加载顺序

1.$JAVA_HOME/jre/lib/ext/*.jar
2.${CLASSPATH}
3.$CATALINA_HOME/common/classes/**/*.class
4.$CATALINA_HOME/commons/endorsed/**/*.jar
5.$CATALINA_HOME/commons/i18n/**/*.jar
6.$CATALINA_HOME/common/lib/**/*.jar
7.$CATALINA_HOME/server/classes/**/*.class
8.$CATALINA_HOME/server/lib/**/*.jar
9.$CATALINA_BASE/shared/classes/**/*.class
10.$CATALINA_BASE/shared/lib/**/*.jar
11./WEB-INF/classes/**/*.class
12./WEB-INF/lib/**/*.jar

你可能感兴趣的:(开源软件使用)