阅读背景:

部署了Java struts应用程序,但拒绝启动

来源:互联网 

I have built the war archieve for a struts application and deployed but sometimes it refuses to start. when i througly checked it, i found that tomcat refuses to start the application if there is no internet connection even though its just a hello world application with no web service being used. On closer examination I found that the error is thrown while parsing struts.xml file when there is no internet connection. Seems as though the DTD is being checked to parse it and in absence of internet connection its not possible to fetch DTD and auto extracting and starting of the war archieve file fails.I have built the war archieve for a struts appl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: