Hi Ivan, [Forwarding to the mojo user list]
On 08/12/06, Oconnor, Ivan <[EMAIL PROTECTED]> wrote:
Since downloading the latest tomcat-maven-plugin (20061203.210544-5), I get an exception when I try to start Tomcat from within Eclipse: ERROR [main] (StandardContext.java:4280) - Error reading tld listeners org.apache.commons.logging.LogConfigurationException: The LogFactory attribute maven.log must be set.
[snip] This would be due to the JCL adapter added to redirect Tomcat logs to the Maven log for tomcat:run and tomcat:run-war mojos. How are you starting Tomcat in Eclipse? It looks like you've got the Maven Tomcat plugin in the classpath somehow.
I was previously using 20060828.161158-1 without any problems. I've tried adding a maven.log property to commons-logging.properties (a simple file name), but then I get a class cast exception: ERROR [main] (StandardContext.java:4280) - Error reading tld listeners java.lang.ClassCastException: java.lang.String
Yes, maven.log is expected to be a Maven Log instance, so you won't be able to set it. The JCL adapter should only be used for the run mojos.
Any insight would be greatly appreciated.
Cheers, Mark --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
