spring-data


spring-data-neo4j repository with Camel fails to initialize


I'm experiencing weird exception when trying to run my integration application on Tomcat 8.5:
Cannot resolve the name 'repository:auditing-attributes' to a(n) 'attribute group' component.
My Maven dependencies are:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring</artifactId>
<version>2.18.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.21</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jms</artifactId>
<version>2.18.1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.3.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-all</artifactId>
<version>5.14.2</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-stream</artifactId>
<version>2.18.1</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j</artifactId>
<version>4.1.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-ogm-api</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons-core</artifactId>
<version>1.4.1.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j-tx</artifactId>
<version>3.4.6.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>4.3.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>1.12.5.RELEASE</version>
</dependency>
My camel-config.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/spring"
xmlns:neo4j="http://www.springframework.org/schema/data/neo4j"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/data/neo4j http://www.springframework.org/schema/data/neo4j/spring-neo4j.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
<neo4j:config storeDirectory="D:\ProgramFiles\Neo4j CE 3.1.0\data" base-package="my.package.repos" />
<neo4j:repositories base-package="opendata.etl.ufop.data" />
<tx:annotation-driven />
when trying to run the application I got:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 77 in XML document from class path resource [camel-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException; systemId: http://www.springframework.org/schema/data/neo4j/spring-neo4j.xsd; lineNumber: 77; columnNumber: 72; src-resolve: Cannot resolve the name 'repository:auditing-attributes' to a(n) 'attribute group' component.
What should I do to make it work?
Thank you

Related Links

spring jpa query dsl doesnt work with projection
Spring Elasticsearch data repository in Weld SE CDI - UnsatisfiedResolutionException
Spring Data query by example and Primefaces datatable filtering
spring-data-parent and spring-data-* projects with java 6?
SpringJPA + Eclipselink: No [ManagedType] was found for the key class. Not using persistance.xml
spring Batch partitioning + spring-data-mongo integration example
Trying to use Crate.io NoSql database with an existing Spring Data / Mysql project
How spring data generate sql according to method name?
Spring Data Jpa equality of two column
Spring Data Mongodb findBy In case insensitive
How to set arrays of string to #EnableJpaRepositories from property files
Java Config for Spring Gemfire xml
Sprint Specification does not work
How to embed entities from different stores with spring data?
Is there a mismatch between Domain-Driven Design repositories and Spring Data ones?
How to import the Spring Data examples into STS

Categories

HOME
qt
amazon-web-services
flask
paypal-ipn
openlayers-3
header
facebook-android-sdk
haxe
angular2-template
roku
yahoo
slide
circleci
clish
jquery-file-upload
smartgwt
cuba-platform
pywinauto
gravity
jest
activeadmin
sqlplus
rxjs5
software-packaging
android-cardview
ruby-daemons
tf-idf
javax.persistence
fotorama
polyml
amazon-kms
keyboard-layout
text-decorations
gitolite
python-jira
slideshow
jacoco-maven-plugin
fiware-wirecloud
spooler
zend-form
extjs4.1
aurelia-fetch-client
gtk#
htmlspecialchars
google-news
pecl
http4s
allegro
cocoa-bindings
pjax
perforce-integrate
static-methods
gnucash
android-syncadapter
highlighting
utf-16
persistent-object-store
gwt-syncproxy
unhandled
ampersand
quercus
incron
fiware-bosun
jcheckbox
google-hangouts
rebar
back
ecos
forio-contour
cpu-time
lync-2010
smips
pbkdf2
sql-view
ax
spiral
xmlwriter
gprof
multiscaleimage
clrprofiler
java.lang.class
background-repeat
anonymous-types
regression-testing
tessellation
3-tier
pinax
processors
chronic
jvm-bytecode
synthesizer

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App