Hi everyone,
I've been working with Spring data for a several months,
(and btw, thx to the development team to provide such a good high level framework)...
but when I change my pom.xml config, moving from Spring data 1.2.0 to Spring data 1.3.* (either 0 or 1),
my JUnit tests (previously working well, for months) fails on start up... :(
(at context initialization, the first bean to be injected for dependencies is not found throwing a "org.springframework.beans.factory.NoSuchBeanDefin itionException: No qualifying bean of type...")
previous pom part (OK)
new version (NOK)
with or without an additional (NOK)
SpringFramework 3.2.1.RELEASE version used...
my context.xml file declares
I was thinking there might be a dependency issue, but as the spring-data project has only its commons-core as dependency declaration, i don't think it's that path to be searched... :(
any idea gentlemen ???
thx
i42
I've been working with Spring data for a several months,
(and btw, thx to the development team to provide such a good high level framework)...
but when I change my pom.xml config, moving from Spring data 1.2.0 to Spring data 1.3.* (either 0 or 1),
my JUnit tests (previously working well, for months) fails on start up... :(
(at context initialization, the first bean to be injected for dependencies is not found throwing a "org.springframework.beans.factory.NoSuchBeanDefin itionException: No qualifying bean of type...")
previous pom part (OK)
Code:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.2.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons-core</artifactId>
<version>1.4.0.RELEASE</version>
</dependency>
Code:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.3.1.RELEASE</version>
</dependency>
Code:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>1.5.1.RELEASE</version>
</dependency>
my context.xml file declares
Code:
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:security="http://www.springframework.org/schema/security"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd">
I was thinking there might be a dependency issue, but as the spring-data project has only its commons-core as dependency declaration, i don't think it's that path to be searched... :(
any idea gentlemen ???
thx
i42