Skip to main content



      Home
Home » Archived » Test and Performance Tools Platform (TPTP) » JUnit + M6 and wtp4.0 doesn't work together.
JUnit + M6 and wtp4.0 doesn't work together. [message #18008] Wed, 18 May 2005 02:19
Eclipse UserFriend
Hi Newsgroup,
I have got a big problem, after switching to the new service release I got
more problems, than I wished I would have. But what's bothering me most, is
that my
unit-test are not working anymore. I can't figure out why. To provide some
information before I got a NoClassDefinitionFound error. I added the
commons-logging, but the problem just changed to that what it is now.
Allthough I removed the .jar from my lib-folder and also of course from my
classpath, I couldn't make this error go away. Perhaps anyone of you
suffered the same issue.
Otherwise here is my stacktrace:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.))
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:543)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:235)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java :351)
at
org.springframework.context.support.AbstractApplicationConte xt. <init>(AbstractApplicationContext.java:127)
at
org.springframework.context.support.AbstractApplicationConte xt. <init>(AbstractApplicationContext.java:159)
at
org.springframework.context.support.AbstractRefreshableAppli cationContext. <init>(AbstractRefreshableApplicationContext.java:66)
at
org.springframework.context.support.AbstractXmlApplicationCo ntext. <init>(AbstractXmlApplicationContext.java:48)
at
org.springframework.context.support.FileSystemXmlApplication Context. <init>(FileSystemXmlApplicationContext.java:79)
at
org.springframework.context.support.FileSystemXmlApplication Context. <init>(FileSystemXmlApplicationContext.java:67)
at itecon.dao.hibernate.test.BaseDAOTestCase.<init>(BaseDAOTestCase.java:28)
at
itecon.dao.hibernate.test.SparepartDAOTest.<init>(SparepartDAOTest.java:20)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
at junit.framework.TestSuite.createTest(TestSuite.java:131)
at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
at junit.framework.TestSuite.<init>(TestSuite.java:75)
at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:103)
at junit.awtui.TestRunner.runSuite(TestRunner.java:455)
at junit.awtui.TestRunner.start(TestRunner.java:536)
at junit.awtui.TestRunner.main(TestRunner.java:382)
at junit.awtui.TestRunner.run(TestRunner.java:387)
at itecon.dao.hibernate.test.SparepartDAOTest.main(SparepartDAO Test.java:36)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by
org.apache.commons.logging.LogConfigurationException: Invalid class loader
hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:397)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:529)
.... 24 more

Caused by: org.apache.commons.logging.LogConfigurationException: Invalid
class loader hierarchy. You have more than one version of
'org.apache.commons.logging.Log' visible, which is not allowed.
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:385)
.... 25 more



Perhaps anyone can help.
Thanks a lot anyway

Regards Johannes
Previous Topic:can't find the button
Next Topic:WSDM and TPTP
Goto Forum:
  


Current Time: Thu May 08 05:38:33 EDT 2025

Powered by FUDForum. Page generated in 0.04710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top