小编Sea*_*ane的帖子

严重:异常org.springframework.web.util.Log4jConfigListener

尝试在Spring Tool Suite中运行tomcat时获得以下严重异常:

SEVERE: Exception sending context initialized event to listener instance of class    org.springframework.web.util.Log4jConfigListener
java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
at    org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:143)
at    org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:117)
at    org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Run Code Online (Sandbox Code Playgroud)

java spring spring-mvc

6
推荐指数
1
解决办法
8330
查看次数

Python在Windows上导入syslog

我有一个通常在unix机器上运行的python脚本,我试图在Windows上运行它.我遇到的一个障碍是模块syslog.有没有人知道我可以在Windows机器上解决这个问题,是否有一个等效的Windows包?运行python 2.7.

syslog python-2.7

6
推荐指数
1
解决办法
5161
查看次数

标签 统计

java ×1

python-2.7 ×1

spring ×1

spring-mvc ×1

syslog ×1