Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-876

cannot start as spring-deployment when built from trunk as described in HOW-TO.TXT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Trunk
    • 3.0-M1
    • None
    • None

    Description

      • console snippet containing stack trace:
        [java] INFO 12:52:02,609 | org.apache.james.container.spring.beanfactory.JamesApplicationContext | 45 beans defined in application context [org.apache.james.container.spring.beanfactory.JamesApplicationContext;hashCode=26210109]
        [java] Exception in thread "main" org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class
        [org.apache.james.mailboxmanager.impl.DefaultMailboxManagerProvider] for bean with name 'mailboxmanager' defined in null; nested exception is java.lang.ClassNotFoundException: org.apache.james.mailboxmanager.impl.DefaultMailboxManagerProvider
        [java] Caused by: java.lang.ClassNotFoundException: org.apache.james.mailboxmanager.impl.DefaultMailboxManagerProvider
        [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        [java] at java.security.AccessController.doPrivileged(Native Method)
        [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        [java] at org.springframework.util.ClassUtils.forName(ClassUtils.java:177)
        [java] at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:313)
        [java] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:912)
        [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:165)
        [java] at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:687)
        [java] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:397)
        [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:330)
        [java] at org.apache.james.container.spring.beanfactory.JamesApplicationContext.newJamesApplicationContext(JamesApplicationContext.java:56)
        [java] at org.apache.james.container.spring.beanfactory.JamesApplicationContext.newJamesApplicationContext(JamesApplicationContext.java:49)
        [java] at org.apache.james.container.spring.beanfactory.JamesApplicationContext.newJamesApplicationContext(JamesApplicationContext.java:45)
        [java] at org.apache.james.container.spring.Main.main(Main.java:29)
        [java] Java Result: 1

      Attachments

        1. build.xml.patch
          0.6 kB
          Joerg Buchberger

        Activity

          People

            robertburrelldonkin Robert Burrell Donkin
            jbuchberger Joerg Buchberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: