aspose file tools*
The moose likes Struts and the fly likes Struts 1.2 and Commons Logging ClassLoader problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.2 and Commons Logging ClassLoader problem" Watch "Struts 1.2 and Commons Logging ClassLoader problem" New topic
Author

Struts 1.2 and Commons Logging ClassLoader problem

Gyula Klinszky
Greenhorn

Joined: Jan 20, 2003
Posts: 27
Hi all,

I am fairly new to Struts, altho I have worked with several frameworks before. Trying to learn it from JakartaStrutsLive (can be downloaded from theserverside.com), I ran into a strange error connected to Commons logging.
The error message basically indicated that i have more than one piece of commons Log class loaded. I was just doing JUnit testing using StrutsTestCase (around page 70 of the tutorial), and got this message:



I checked the classpath for possible 2 instances of commons-logging.jar, but found none. When I removed the library, the compiler did not find the commons-related classes.

Checking on Google I found that some ppl already ran into this problem, but none had solutions so far.

Anyone can help, please ?
[ September 28, 2004: Message edited by: Gyula Klinszky ]
Gyula Klinszky
Greenhorn

Joined: Jan 20, 2003
Posts: 27
Oops, sorry for the formatting.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.2 and Commons Logging ClassLoader problem