Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3520

Exception thrown when trying to add an xml config file

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0.RELEASE
    • 3.4.0.M1
    • EDITING
    • None

    Description

      Got this exception when trying to add a config file from a jar on the maven classpath:

      org.springframework.beans.factory.BeanDefinitionStoreException: Failed to load bean class: org.springframework.batch.admin.web.resources.MenuManager; nested exception is java.io.IOException: Could not find org.springframework.batch.admin.web.resources.MenuManager$1
      	at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:156)
      	at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:284)
      	at org.springframework.ide.eclipse.metadata.process.JdtConfigurationClassPostProcessor.postProcess(JdtConfigurationClassPostProcessor.java:86)
      	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$4.run(BeansConfig.java:749)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.executePostProcessor(BeansConfig.java:742)
      	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.postProcess(BeansConfig.java:626)
      	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.access$8(BeansConfig.java:585)
      	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:451)
      	at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$3.call(BeansConfig.java:1)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:722)
      Caused by: java.io.IOException: Could not find org.springframework.batch.admin.web.resources.MenuManager$1
      	at org.springframework.ide.eclipse.core.java.classreading.JdtMetadataReaderFactory.getMetadataReader(JdtMetadataReaderFactory.java:50)
      	at org.springframework.ide.eclipse.core.java.classreading.CachingJdtMetadataReaderFactory.getMetadataReader(CachingJdtMetadataReaderFactory.java:38)
      	at org.springframework.context.annotation.ConfigurationClassParser.processMemberClasses(ConfigurationClassParser.java:309)
      	at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:216)
      	at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:202)
      	at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:170)
      	at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:152)
      	... 17 more
      

      Let me know if you need more details.

      Attachments

        Activity

          People

            mlippert Martin Lippert
            aeisenberg Andrew Eisenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: