RE: [ApacheDS] Problem with nlog4j
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > RE: [ApacheDS] Problem with nlog4j




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    RE: [ApacheDS] Problem with nlog4j  
Gianmaria Clerici


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-10-06 06:11 AM


Yes I was using 1.4.2_04.
I didn't see the requirement to use 1.5.

I just downloaded 1.5 and I am rebuilding now.
Will let you know how it goes.

-----Original Message-----
From: Alex Karasulu [mailto:aok123-Bdlq13kUjeyLZ21kGMrzwg@public.gmane.o
rg]=20
Sent: Tuesday, May 09, 2006 5:35 PM
To: Apache Directory Developers List
Subject: Re: [ApacheDS] Problem with nlog4j

Question:

What JDK are you building with?  I suspect 1.4.X and if so this means=20
that nlog4j was not compiled
with backwards compatibility with 1.4.  If so then we're in a world of=20
hurt since we'll have to contact
Ceki (slf4j maintainer), upgrade to the next release and re-release=20
everything that depended on this jar.

Alex

Gianmaria Clerici wrote:
> I removed the entire directory and got it again from SVN.
> I also removed everything under .m2/repository.
>
> I still get the same error.
> I am attaching the output of the build from scratch.
>
> But it's the same error as before:
>
>
> [ERROR] BUILD FAILURE
>
> [INFO]
>
------------------------------------------------------------------------
>
> [INFO] Compilation failure
>
>
 c:\Bridgestream\Apache_Directory\release
s\apacheds\1.0-RC3\server-main\s
>  rc\main\java\org\apache\directory\server
\Service.java:[33,-1] cannot
> access org.slf4j.Logger
>
> bad class file: C:\Documents and
>
Settings\gclerici\.m2\repository\org\slf4j\nlog4j\1.2.24\nlog4j-1.2.24.j
> ar(org/slf4j/Logger.class)
>
> class file has wrong version 49.0, should be 48.0
>
>
>
>
>
> [INFO]
>
------------------------------------------------------------------------
>
> [INFO] Trace
>
> org.apache.maven.BuildFailureException: Compilation failure
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:555)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:475)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle
> (DefaultLifecycleExecutor.java:891)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(Defaul
> tLifecycleExecutor.java:729)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:505)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
> l(DefaultLifecycleExecutor.java:488)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:458)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:306)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:219)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:140)
>
> 	at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> 	at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>
> 	at
>
sun.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessor
> Impl.java:25)
>
> 	at java.lang.reflect.Method.invoke(Method.java:324)
>
> 	at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>
> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>
> 	at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>
> Caused by: org.apache.maven.plugin.CompilationFailureException:
> Compilation failure
>
> 	at
>
org.apache.maven.plugin.AbstractCompilerMojo. execute(AbstractCompilerMoj
> o.java:505)
>
> 	at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
>
> 	at
>
org.apache.maven.plugin.DefaultPluginManager. executeMojo(DefaultPluginMa
> nager.java:412)
>
> 	at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:534)
>
> 	... 20 more
>
> [INFO]
>
------------------------------------------------------------------------
>
> [INFO] Total time: 9 minutes 14 seconds
>
> [INFO] Finished at: Tue May 09 15:03:09 PDT 2006
>
> [INFO] Final Memory: 7M/18M
>
> [INFO]
>
------------------------------------------------------------------------
>
>
> -----Original Message-----
> From: Alex Karasulu [mailto:aok123-Bdlq13kUjeyLZ21kGMrzwg@public.gmane
.org]=20
> Sent: Tuesday, May 09, 2006 1:00 PM
> To: Apache Directory Developers List
> Subject: [ApacheDS] Problem with nlog4j (was: Re: [ApacheDS] 1.0-R
C3
> Released)
>
> Gianmaria,
>
> Gianmaria Clerici wrote:
>  =20 
> Works like a champ for me on a new fresh clean build with maven repos=20
> blown away.
>  =20 
> Hmmm you might have had issues on transfer of the nlog4j jar.  Please=20
> try again.
>
> Also please try to use a fresh new subject when you start a new
thread.
>
> Alex
>
>
>  =20







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:54 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register