This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
jQuery in Action, 3rd edition