Google Groups Home
Help | Sign in
How was it with: org/apache/commons/logging ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jonathan Alvarsson  
View profile
 More options May 7, 12:05 pm
From: "Jonathan Alvarsson" <jonathan.alvars...@gmail.com>
Date: Wed, 7 May 2008 18:05:18 +0200
Local: Wed, May 7 2008 12:05 pm
Subject: How was it with: org/apache/commons/logging ?

I recently got this error: java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
and I have this strange feeling that I was told here not to use commons
logging together with Spring DM.

I am as always having great problems with logging.... :(

Anyway iBatis seems to need that... Anyone know what logging it was I wasn't
supposed to use? (and if this what is what I can do?)

btw: I am still on v.[1.0.0.rc1] how difficult / worth it is an upgrade?

--
// Jonathan, confused and might tired off things not even starting because
off logging problems.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Brosius  
View profile
 More options May 7, 12:19 pm
From: "Dave Brosius" <dbros...@mebigfatguy.com>
Date: Wed, 7 May 2008 12:19:27 -0400 (EDT)
Local: Wed, May 7 2008 12:19 pm
Subject: RE: How was it with: org/apache/commons/logging ?
commons-logging is indeed the problem.

I am use PaxLogging and it seems to work fine.

http://wiki.ops4j.org/dokuwiki/doku.php?id=pax:logging

You can also use the Simple Logging Facade for Java

http://www.slf4j.org/

but i found that had circular dependency issues that pax did not.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Alvarsson  
View profile
 More options May 7, 12:41 pm
From: "Jonathan Alvarsson" <jonathan.alvars...@gmail.com>
Date: Wed, 7 May 2008 18:41:09 +0200
Local: Wed, May 7 2008 12:41 pm
Subject: Re: How was it with: org/apache/commons/logging ?

> You can also use the Simple Logging Facade for Java

> http://www.slf4j.org/

I am pretty sure that we are using this one. (It wasn't me setting up the
logging and now the guy seems a bit hard to reach (the problem of open
source I guess)) But I still have a bundle needing
org/apache/commons/logging/LogFactory. Am I in trouble? I mean I probably
have to give it access to that class somehow right?

--
// Jonathan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Brosius  
View profile
 More options May 7, 12:54 pm
From: "Dave Brosius" <dbros...@mebigfatguy.com>
Date: Wed, 7 May 2008 12:54:36 -0400 (EDT)
Local: Wed, May 7 2008 12:54 pm
Subject: Re: How was it with: org/apache/commons/logging ?
The bundle

jcl104-over-slf4

has this class, and assuming that your version of this bundle is new enough to have org/apache/commons/logging included it's Export-Package line in the manifest, than your bundles can use it.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Costin Leau  
View profile
 More options May 12, 9:51 am
From: Costin Leau <costin.l...@gmail.com>
Date: Mon, 12 May 2008 06:51:36 -0700
Local: Mon, May 12 2008 9:51 am
Subject: Re: How was it with: org/apache/commons/logging ?

Jonathan Alvarsson wrote:
> I recently got this error: java.lang.NoClassDefFoundError:
> org/apache/commons/logging/LogFactory
> and I have this strange feeling that I was told here not to use commons
> logging together with Spring DM.

> I am as always having great problems with logging.... :(

> Anyway iBatis seems to need that... Anyone know what logging it was I
> wasn't supposed to use? (and if this what is what I can do?)

try slf4j-api, slf4j-log4j (or other wired implementations) and
jcl104-over-slf4j.
The last jar is the one that provides the commons logging APIs - w/o,
the commons logging classes will not be available.

> btw: I am still on v.[1.0.0.rc1] how difficult / worth it is an upgrade?

rc1 is sort of old but I don't think you'll have many problems. If you
encounter any check out the changelog and as always, use the forum or
this mailing list.

Cheers,

> --
> // Jonathan, confused and might tired off things not even starting
> because off logging problems.

--
Costin

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google