Announcement Announcement Module
Collapse
No announcement yet.
spring-data-mongodb 1.0 snapshot downloading spring-data-commons-core 1.1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring-data-mongodb 1.0 snapshot downloading spring-data-commons-core 1.1

    ...why?

    i'm getting the following exception since today, trying to create the converter:

    Code:
     java.lang.NoClassDefFoundError: org/springframework/data/mapping/model/PreferredConstructor$ParameterValueProvider
            at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:160)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
            at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
            at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
            at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
            ... 67 more
    Caused by: java.lang.NoClassDefFoundError: org/springframework/data/mapping/model/PreferredConstructor$ParameterValueProvider
            at java.lang.Class.getDeclaredConstructors0(Native Method)
            at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
            at java.lang.Class.getDeclaredConstructors(Class.java:1836)
            at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:157)
            ... 76 more
    Caused by: java.lang.ClassNotFoundException: org.springframework.data.mapping.model.PreferredConstructor$ParameterValueProvider
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
    is this ok..?

    thanks

    fede.

  • #2
    I got the exacly same problem, Seems like the team working on commons core did some changes

    Comment


    • #3
      working with

      Code:
      	<mongo:db-factory id="mongoDbFactory" dbname="${mongo.database}" mongo-ref="mongo"/>

      Comment


      • #4
        yes, I got it working by simply updating the deps.

        mvn -U package

        Comment

        Working...
        X