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
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply 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.
 
 
subject: Struts 1.2 and Commons Logging ClassLoader problem
 
Threads others viewed
Unable to start Tomcat from Eclipse
Deployment error NoClassDefFoundError: org.hibernate.cfg.Configuration on Oracle 11g App Server
Error after upgrading from SOA 10.1.3.1 to 10.1.4.1 (commons-loging.jar)
commons-looging version issue during a maven build
glassFish war deploy: multipe loggers error ?
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture