开源项目中寻找配置文件,一般先从系统属性中读,读不到就到指定的路径下去找,还是找不到就到类路径下找。如tomcat:1.从catalina.config系统属性中找2.从conf/catalina.properties中找3.从类路径下去找catalina.properties