Details
Description
In the pom.xml for the spring example a dependency to log4j is missing.
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.11</version>
<scope>runtime</scope>
</dependency>
The 'eternal' problem log4j+commons-logging seems to appear here, too. I could only run the example wil the Jetty server after performing these changes:
mv src/webapp/WEB-INF/log4j.properties src/main/
in src/webapp/WEB-INF/web.xml
- <context-param>
- <param-name>log4jConfigLocation</param-name>
- <param-value>/WEB-INF/log4j.properties</param-value>
- </context-param>
- - <listener>
- <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
- </listener>
Thanks, scheduling this for 1.1.2.