ex:
嚴重的: Error listenerStart
2010/8/18 下午 03:12:37 org.apache.catalina.core.StandardContext start
嚴重的: Context [/xxx-web] startup failed due to previous errors
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html for an explanation.
1. 先到網站發佈目錄下檢查 .jar 檔案是不是有缺,到發佈目錄下的 WEB-INF/lib 中檢查
ps: 也有可能是其他的缺檔
2. 檢查引用的專案及 third party 是否有正確載入正確版本,如果同時載入不同版本的 jar 以及專案時,會導致發佈時抓錯版本,在這邊要注意一下

3. 如果在設定以及引用的檔案太多時可以另外使用 .classpath 文字模式來快速尋找

4. 最後檢查這J2EE實際載入的 lib 以及引用專案,有時候在引用專案或是調整 third party元件時,如果在這沒有勾選擇不會發佈到測試的 tomcat中

沒有留言:
發佈留言