Announcement Announcement Module
Collapse
No announcement yet.
DirectoryResourceHandle - signer information does not match signer... Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DirectoryResourceHandle - signer information does not match signer...

    Whilst using STS 2.5.2 with Roo 1.1.4 I am getting my spring xml files being marked with the following error. If I ignore the error, the roo-application I am building works as expected. I dont believe its a Roo issue. The error seems to be more of an anoyance than anything, but somthing is amiss - any ideas as to fixing the problem.

    Error marked against xml file:

    Error occured processing XML 'class "org.apache.xbean.classloader.DirectoryResourceHan dle"'s signer information does not match signer information of other classes in the same package'. See Error Log for more details

    STS .Log contents:

    !ENTRY org.springframework.ide.eclipse.beans.core 1 0 2011-06-01 19:33:21.902
    !MESSAGE Error occured processing '/RooTimeSheet/src/main/webapp/WEB-INF/spring/webmvc-config.xml'
    !STACK 0
    java.lang.SecurityException: class "org.apache.xbean.classloader.DirectoryResourceHan dle"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(ClassLoader.java: 807)
    at java.lang.ClassLoader.preDefineClass(ClassLoader.j ava:488)
    at java.lang.ClassLoader.defineClassCond(ClassLoader. java:626)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :616)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.defineClass(DefaultClassLoader.java:188)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.defineClass(ClasspathManager.java:580)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findClassImpl(ClasspathManager.java:550)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findLocalClassImpl(ClasspathManager.java:481)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findLocalClass_LockClassLoader(ClasspathManager .java:469)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManag er.findLocalClass(ClasspathManager.java:449)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.find LocalClass(BundleLoader.java:393)
    at org.eclipse.osgi.internal.loader.BundleLoader.find ClassInternal(BundleLoader.java:469)
    at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
    at org.apache.xbean.classloader.DirectoryResourceLoca tion.getResourceHandle(DirectoryResourceLocation.j ava:47)
    at org.apache.xbean.classloader.ResourceEnumeration.f etchNextIfNull(ResourceEnumeration.java:69)
    at org.apache.xbean.classloader.ResourceEnumeration.h asMoreElements(ResourceEnumeration.java:40)
    at org.apache.xbean.classloader.UnionEnumeration.hasM oreElements(UnionEnumeration.java:54)
    at sun.misc.CompoundEnumeration.next(CompoundEnumerat ion.java:27)
    at sun.misc.CompoundEnumeration.hasMoreElements(Compo undEnumeration.java:36)
    at org.springframework.core.io.support.PathMatchingRe sourcePatternResolver.findAllClassPathResources(Pa thMatchingResourcePatternResolver.java:305)
    at org.springframework.core.io.support.PathMatchingRe sourcePatternResolver.getResources(PathMatchingRes ourcePatternResolver.java:271)
    at org.springframework.core.io.support.PathMatchingRe sourcePatternResolver.findPathMatchingResources(Pa thMatchingResourcePatternResolver.java:338)
    at org.springframework.core.io.support.PathMatchingRe sourcePatternResolver.getResources(PathMatchingRes ourcePatternResolver.java:267)
    at org.springframework.ide.eclipse.core.io.EclipsePat hMatchingResourcePatternResolver.getResources(Ecli psePathMatchingResourcePatternResolver.java:139)
    at org.springframework.ide.eclipse.beans.core.interna l.model.BeansConfig$ClassResourceFilteringPatternR esolver.getResources(BeansConfig.java:1028)
    at org.springframework.context.annotation.ClassPathSc anningCandidateComponentProvider.findCandidateComp onents(ClassPathScanningCandidateComponentProvider .java:204)
    at org.springframework.context.annotation.ClassPathBe anDefinitionScanner.doScan(ClassPathBeanDefinition Scanner.java:204)
    at org.springframework.context.annotation.ComponentSc anBeanDefinitionParser.parse(ComponentScanBeanDefi nitionParser.java:84)
    at org.springframework.beans.factory.xml.NamespaceHan dlerSupport.parse(NamespaceHandlerSupport.java:73)
    at org.springframework.ide.eclipse.beans.core.interna l.model.namespaces.DelegatingNamespaceHandlerResol ver$ElementTrackingNamespaceHandler.parse(Delegati ngNamespaceHandlerResolver.java:177)
    at org.springframework.beans.factory.xml.BeanDefiniti onParserDelegate.parseCustomElement(BeanDefinition ParserDelegate.java:1335)
    at org.springframework.ide.eclipse.beans.core.interna l.model.BeansConfig$ErrorSuppressingBeanDefinition ParserDelegate.parseCustomElement(BeansConfig.java :1292)
    at org.springframework.beans.factory.xml.BeanDefiniti onParserDelegate.parseCustomElement(BeanDefinition ParserDelegate.java:1325)
    at org.springframework.beans.factory.xml.DefaultBeanD efinitionDocumentReader.parseBeanDefinitions(Defau ltBeanDefinitionDocumentReader.java:135)
    at org.springframework.beans.factory.xml.DefaultBeanD efinitionDocumentReader.registerBeanDefinitions(De faultBeanDefinitionDocumentReader.java:93)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.registerBeanDefinitions(XmlBeanDefinit ionReader.java:493)
    at org.springframework.ide.eclipse.beans.core.interna l.model.BeansConfig$2.registerBeanDefinitions(Bean sConfig.java:389)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:390)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:334)
    at org.springframework.ide.eclipse.beans.core.interna l.model.BeansConfig$2.loadBeanDefinitions(BeansCon fig.java:375)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:302)
    at org.springframework.ide.eclipse.beans.core.interna l.model.BeansConfig$3.call(BeansConfig.java:421)
    at org.springframework.ide.eclipse.beans.core.interna l.model.BeansConfig$3.call(BeansConfig.java:1)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

    only location where DirectoryResourceHandle exists:

    C:\springsource\sts-2.5.2.RELEASE\configuration\org.eclipse.osgi\bundl es
Working...
X