I'm new to Slide and Commons, and a bit lost trying to get the WebDAV client libraries to work:

This line
org.apache.commons.httpclient.HttpClient client = new org.apache.commons.httpclient.HttpClient();
causes this error

2005-08-25 14:10:12,436 ERROR Aurora[24017:50000 2] CoverArtwork (CoverArtwork.java:124) - java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
    at CoverArtwork.uploadInputStreamToImagePath(CoverArtwork.java:111)
<snip>
    at java.lang.Thread.run(Thread.java:552)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1258b2 for org.apache.commons.logging.impl.Log4JLogger at org.apache.commons.logging.impl.LogFactoryImpl.newInstance (LogFactoryImpl.java:532) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance (LogFactoryImpl.java:272) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance (LogFactoryImpl.java:246) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java: 395) at org.apache.commons.httpclient.HttpClient.<clinit> (HttpClient.java:69)
    ... 21 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1258b2 for org.apache.commons.logging.impl.Log4JLogger at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor (LogFactoryImpl.java:432) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance (LogFactoryImpl.java:525)
    ... 25 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
    at java.lang.Class.getConstructor0(Class.java:1930)
    at java.lang.Class.getConstructor(Class.java:1027)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor (LogFactoryImpl.java:429)
    ... 26 more

I do have log4j (I'm using it) in my class path.

Thanks in advance.

/Daniel


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

Reply via email to