Loading

Cannot set web app root system property when WAR file is not expanded

 Cannot set web app root system property when WAR file is not expanded

在tomcat下面可以,在weblogic下面不行的处理方法;

学习了http://blog.csdn.net/ouvidia/article/details/38453353

我采用了在web.xml 中配置 如下参数的方法:

    <!-- Cannot set web app root system property when WAR file is not expanded 异常处理 -->
    <context-param>  
      <param-name>log4jExposeWebAppRoot</param-name>  
      <param-value>false</param-value>  
    </context-param> 

 

posted @ 2017-12-15 09:24  stono  阅读(3665)  评论(0编辑  收藏  举报