Yeah look's like you're right... when i add your piece of code, i get a
"classnotfoundexception" when calling... any ideas? the jar is, as i said,
within the lib directory of the portlet



Dominique Pfister wrote:
> 
> Hmm, there is nothing special about the way
> org.slf4j.impl.Log4jLoggerFactory accesses the class
> org.apache.log4j.LogManager. I guess, that the log4j.jar contained in
> your WEB-INF/lib is hidden by some other library of the same name in
> the server's common classpath. Make sure that the missing class is in
> fact available from within your portlet by putting a temporary
> 
> Class.forName("org.apache.log4j.LogManager")
> 
> in your portlet code.
> 
> Kind regards
> Dominique
> 
> On 1/3/07, Ronald_K <[EMAIL PROTECTED]> wrote:
>>
>> unfortunately it is not, i've checked it twice, all jars from the
>> stand-allone jackrabbit testapp (where it works) are in the lib-directory
>> of
>> the portlet-webapp, so the classes should be available.
>>
>>
>>
>> Tobias Bocanegra wrote:
>> >
>> >> Nested Exception is java.lang.NoClassDefFoundError:
>> >> org/apache/log4j/LogManager
>> >
>> > you're probably missing a log4.jar.
>> > regards, toby
>> >
>> >
>> --
>> View this message in context:
>> http://www.nabble.com/URGENT---Jackrabbit-and-Pluto-tf2913184.html#a8140275
>> Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/URGENT---Jackrabbit-and-Pluto-tf2913184.html#a8141998
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

Reply via email to