I'm trying to add a new block to a Cocoon web app and every time I try to do a 'mvn jetty:run' command I get a 'java.lang.AbstractMethodError' and the web app just seems to stop serving web pages (error list shown at end of this message).

The block in question makes calls to the Sesame [1] RDF triplestore. The important thing is that, like a lot of modern Java apps, Sesame makes use of SLF4J [2] to do its logging. I'm not familiar with the various logging frameworks but I think I've accidently walked into a minefield here! Cocoon seems to use Log4j, Jetty might be using something else and my block might need slf4j. Add to this that I've seen a report about slf4j not playing well with the Reloading Class Loader (RCL) and I think I'm well and truly stuffed!

Please, if anyone knows how to get a library that uses slf4j to play nicely in a Cocoon environment I'd be very grateful ;-)

Regards,
David Legg


Errors...
 ...
 [INFO] [jetty:run]
 [INFO] Configuring Jetty for project: meerkat-browser
 ...
2008-07-15 16:57:35.032::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
 [INFO] Starting jetty 6.1.7 ...
 2008-07-15 16:57:35.112::INFO:  jetty-6.1.7
 ...
2008-07-15 16:57:36.964::WARN: failed [EMAIL PROTECTED]/,D:\projects\meerkat\meerkat-browser\target\rcl\webapp} java.lang.AbstractMethodError: org.slf4j.impl.SimpleLogger.trace(Ljava/lang/String;)V at org.apache.commons.logging.impl.SLF4JLog.trace(SLF4JLog.java:82) at org.springframework.core.CollectionFactory.createConcurrentMapIfPossible(CollectionFactory.java:195)
 ...


[1] http://www.openrdf.org/
[2] http://www.slf4j.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to