java - How to update neo4j from 2.1.5 to 2.2.3 in Spring? -
i needed update neo4j community version 2.1.5 version 2.2.3 use it's new features. worked , create database in it. now, when i'm trying run spring project, i'm getting errors:
caused by: org.neo4j.kernel.impl.storemigration.storeupgrader$unexpectedupgradingstoreversionexception: 'neostore.nodestore.db' has store version number cannot upgrade from. expected 'v0.a.1' file version 'nodestore v0.a.5'. @ org.neo4j.kernel.impl.storemigration.upgradabledatabase.checkupgradeable(upgradabledatabase.java:80) @ org.neo4j.kernel.impl.storemigration.storemigrator.needsmigration(storemigrator.java:135) @ org.neo4j.kernel.impl.storemigration.storeupgrader.getparticipantseagertomigrate(storeupgrader.java:268) @ org.neo4j.kernel.impl.storemigration.storeupgrader.migrateifneeded(storeupgrader.java:143) @ org.neo4j.kernel.impl.nioneo.xa.neostorexadatasource.start(neostorexadatasource.java:344) @ org.neo4j.kernel.lifecycle.lifesupport$lifecycleinstance.start(lifesupport.java:507) ... 112 more
in pom.xml changed spring-neo4j.version 3.2.2.release 3.3.1.release after updating of project in maven dependencies neo4j-files has version 2.1.7 need 2.2.3. how can update dependencies in right way?
<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelversion>4.0.0</modelversion> <groupid>com.riversoft</groupid> <artifactid>in-time-manager</artifactid> <version>${bamboobuildnumber}</version> <packaging>war</packaging> <properties> <spring.version>4.1.1.release</spring.version> <spring-neo4j.version>3.3.1.release</spring-neo4j.version> <spring-security.version>3.2.5.release</spring-security.version> <servletapi.version>3.1.0</servletapi.version> <jsp-api.version>2.1</jsp-api.version> <h-validator.version>5.1.3.final</h-validator.version> <jackson.version>2.4.3</jackson.version> </properties> <dependencies> <!-- spring core dependencies --> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-core</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-context</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-aop</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-tx</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-webmvc</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework.data</groupid> <artifactid>spring-data-neo4j</artifactid> <version>${spring-neo4j.version}</version> </dependency> <!-- validation dependencies--> <dependency> <groupid>org.hibernate</groupid> <artifactid>hibernate-validator</artifactid> <version>${h-validator.version}</version> </dependency> <!-- jackson core dependencies--> <dependency> <groupid>com.fasterxml.jackson.module</groupid> <artifactid>jackson-module-jaxb-annotations</artifactid> <version>${jackson.version}</version> </dependency> <dependency> <groupid>com.fasterxml.jackson.core</groupid> <artifactid>jackson-core</artifactid> <version>${jackson.version}</version> </dependency> <dependency> <groupid>com.fasterxml.jackson.core</groupid> <artifactid>jackson-annotations</artifactid> <version>${jackson.version}</version> </dependency> <dependency> <groupid>com.fasterxml.jackson.core</groupid> <artifactid>jackson-databind</artifactid> <version>${jackson.version}</version> </dependency> <!-- spring security dependencies--> <dependency> <groupid>org.springframework.security</groupid> <artifactid>spring-security-core</artifactid> <version>${spring-security.version}</version> </dependency> <dependency> <groupid>org.springframework.security</groupid> <artifactid>spring-security-web</artifactid> <version>${spring-security.version}</version> </dependency> <dependency> <groupid>org.springframework.security</groupid> <artifactid>spring-security-config</artifactid> <version>${spring-security.version}</version> </dependency> <!-- servlet api dependencies --> <dependency> <groupid>javax.servlet</groupid> <artifactid>javax.servlet-api</artifactid> <version>${servletapi.version}</version> </dependency> <dependency> <groupid>javax.servlet.jsp</groupid> <artifactid>jsp-api</artifactid> <version>${jsp-api.version}</version> <scope>provided</scope> </dependency> <dependency> <groupid>javax.servlet</groupid> <artifactid>jstl</artifactid> <version>1.2</version> </dependency> <dependency> <groupid>log4j</groupid> <artifactid>log4j</artifactid> <version>1.2.17</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-compiler-plugin</artifactid> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build>
use sdn 3.3.2 released today or tomorrow.
then can depend on org.neo4j:neo4j:2.2.3 , should work.
Comments
Post a Comment