- Java.lang.IllegalArgumentException
- At org.springframework.asm.classreader.<init> (Unknown Source)
- At org.springframework.asm.classreader.<init> (Unknown Source)
- At org.springframework.asm.classreader.<init> (Unknown Source)
- At Org.springframework.core.type.classreading.simplemetadatareader.<init> (SimpleMetadataReader.java: )
- At Org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader ( Simplemetadatareaderfactory.java:
- At Org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader ( Cachingmetadatareaderfactory.java:101)
- At Org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader ( Simplemetadatareaderfactory.java:)
- At Org.springframework.context.annotation.ConfigurationClassParser.getImports (Configurationclassparser.java: 298)
- At Org.springframework.context.annotation.ConfigurationClassParser.getImports (Configurationclassparser.java: )
- At Org.springframework.context.annotation.ConfigurationClassParser.getImports (Configurationclassparser.java: )
- At Org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass ( Configurationclassparser.java:)
- At Org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass ( Configurationclassparser.java:153)
- At Org.springframework.context.annotation.ConfigurationClassParser.parse (Configurationclassparser.java:130)
- At Org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions ( Configurationclasspostprocessor.java:285)
- At Org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry ( Configurationclasspostprocessor.java:223)
- At Org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors ( Abstractapplicationcontext.java:630)
- At Org.springframework.context.support.AbstractApplicationContext.refresh (Abstractapplicationcontext.java: 461)
- At Org.springframework.context.support.classpathxmlapplicationcontext.<init> ( Classpathxmlapplicationcontext.java:139)
- At Org.springframework.context.support.classpathxmlapplicationcontext.<init> ( Classpathxmlapplicationcontext.java: ()
- At Com.xyc.mt.test.ConfigTest.testCompanyService (Configtest.java: one)
- At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
- At Sun.reflect.NativeMethodAccessorImpl.invoke (Nativemethodaccessorimpl.java: +)
- At Sun.reflect.DelegatingMethodAccessorImpl.invoke (Delegatingmethodaccessorimpl.java: +)
- At Java.lang.reflect.Method.invoke (Method.java:483)
- At org.junit.runners.model.frameworkmethod$1.runReflectiveCall (frameworkmethod.java:)
- At Org.junit.internal.runners.model.ReflectiveCallable.run (Reflectivecallable.java:)
- At org.junit.runners.model.FrameworkMethod.invokeExplosively (Frameworkmethod.java:)
- At Org.junit.internal.runners.statements.InvokeMethod.evaluate (Invokemethod.java:)
- At Org.junit.runners.ParentRunner.runLeaf (Parentrunner.java:271)
- At Org.junit.runners.BlockJUnit4ClassRunner.runChild (Blockjunit4classrunner.java:)
- At Org.junit.runners.BlockJUnit4ClassRunner.runChild (Blockjunit4classrunner.java:)
- At org.junit.runners.parentrunner$3.run (Parentrunner.java:238)
- At org.junit.runners.parentrunner$1.schedule (Parentrunner.java: +)
- At Org.junit.runners.ParentRunner.runChildren (Parentrunner.java:236)
- At org.junit.runners.parentrunner.access$(Parentrunner.java: +)
- At org.junit.runners.parentrunner$2.evaluate (Parentrunner.java:229)
- At Org.junit.runners.ParentRunner.run (Parentrunner.java:309)
- At Org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run (Junit4testreference.java:)
- At Org.eclipse.jdt.internal.junit.runner.TestExecution.run (Testexecution.java: $)
- At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (Remotetestrunner.java:467)
- At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (Remotetestrunner.java:683)
- At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run (Remotetestrunner.java:390)
- At Org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main (Remotetestrunner.java:197)
- Workaround: Be sure to align the compilation environment (Compiler) and the Runtime environment (installed JREs) in the Java drop-down list in preferences under MyEclipse window to resolve.
Java.lang.IllegalArgumentException