• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JUnit and logging = exception

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings rangers.
I stumbeld upon this exception, when I start my test with junit.swingui.TestRunner.run(testclass.class);

LogConfigurationException: invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed

This does not happen, when I use textui instead of swingui, but the text output for failed tests is dreadfull.

Google doesn't help much on this, so I would like to ask, if someone of you knows how I could fix it.

I'm using java 1.4, JUnit 3.8.1 and Oracle JDeveloper 10.1.2.0.0.
Java 1.5 and Eclipse are both not an option for me at the moment.
 
reply
    Bookmark Topic Watch Topic
  • New Topic