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

Bulk operations in CassandraRepository for spring-data-cassandra 2.0M1
QueryDslPredicateExecutor: Predicate from two tables
Couchbase + Spring Data: Get only field instead of whole entity using #Query
How can I create a Predicate from a HQL query?
Left Join in Spring Data JPA's Specification
Lombok Usage - It doesn't serve its functionality in a unit test
Spring Data Couchbase findById always returns null
spring-data-neo4j repository with Camel fails to initialize
How does pages work if the DB is manipulated between next
How can I generate Q-classes with QueryDsl 4.1.4 and Spring-Data-Jpa 2.0.0.M1?
How to map a legacy database table with mismanaged attribute names
spring-data-redis: Unexpected end of stream exception
Is it possible to use OR and LIKE keyword together in Spring Data JPA
Save and find within same transaction
Why doesn't spring-data-elasticsearch use the objectmapper from the spring context
QueryDSL 4.3.1 : Generate JPA and SQL Types using Maven

Categories

HOME
events
ontouchlistener
long-integer
couchdb
swi-prolog
ews
odata
consul
implicit-conversion
fedora
angular-meteor
pm2
cloudsim
bazaar
android-permissions
el
managed-c++
router
android-cardview
sap-lumira
npoi
cube
boolean-logic
tsung
fusion
social-networking
copy-protection
monitor
locks
steam-web-api
caesar-cipher
sql-execution-plan
restful-architecture
forms-authentication
django-crispy-forms
linq.js
resampling
spooler
jqgrid-asp.net
expandablelistview
sendinput
vesta
adblock
autorelease
.net-micro-framework
ssi
libreoffice-writer
ilrepack
connect-direct
dtd
zend-server
mifos
controllers
spring-mongo
fragmentstatepageradapter
maximize
ibm-was
supercomputers
360-degrees
ngcordova
vdm-sl
modern.ie
google-gdk
mobilefirst-server
angular-amd
kognitio-wx2
nanomsg
cout
back
xcode6.3.1
jomsocial
nosql-aggregation
mod-perl
sql-view
proc-open
dojo-1.9
lynx
live-wallpaper
sfinae
getopt-long
thejit
first-class
yuidoc
litespeed
delphi-prism
odac
google-translator-toolkit
tacit-programming
webclient.uploaddata

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App