When trying to use nlog4j I get an
java.lang.IncompatibleClassChangeError when I
switched. Maybe I did something wrong.
--- Emmanuel Lecharny <[EMAIL PROTECTED]> wrote:
> Jo Jeeka a écrit :
>
> >Long before getting past being able to create my
> >SNAPSHOT.jar file (moments ago) I had set up unit
> test
> >code in our project that worked somewhat (up to the
> >part of loading my ldif of objects). To get past
> that
> >it was necessary to get the custom schema read in.
> >
> >Now running the same old unit test code failed
> before
> >trying to load the ldif objects (this was not the
> case
> >before). The problem was that the statement
> >MutableServerStartupConfiguration configuration =
> new
> >MutableServerStartupConfiguration(); (though it
> could
> >have been any statement as you will see in a
> second)
> >was causing a runtime error in that the
> >org.slf4j.LoggerFactory class was not found.
> >
> >I looked and noticed that the slf4j-api-1.2.jar did
> >not contain the class definition inside of it as
> the
> >slf4j-api-1.3.1.jar did. I removed the 1.2 version
> >from my project and when back to the 1.3.1 version
> to
> >get past that.
> >
> >Now, was that a problem on my end or does the
> >or.slf4j.LoggerFactory need to be in the
> >slf4j-api-1.2.jar ??
> >
> >
>
> I think you just have to include nlog4j-1.2.25.jar
> into your path. It
> includes the slf4j-api, I think
>
> Can you give it a try ?
> Emmanuel
>
>
___________________________________________________________________________________
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html