最新のSpring Data Neo4j(現在5.0.0.RC3)を使用してSpring Boot 2(この段階で2.0.0.M4)をトライアルしているため、動作していないようです。Neo4j OGMでSpring Boot 2.0.0.M4を使用すると、おそらく組み込みドライバが必要になるのはなぜですか?
私は次のエラーを取得:
org.neo4j.ogm.exception.ConfigurationException: Could not load driver class org.neo4j.ogm.drivers.embedded.driver.EmbeddedDriver
を私は組み込みドライバを要求していない、また私は1つをしたいです。私はすでにspring-data-neo4jの依存関係であるボルトドライバを使いたいだけです。
私はSpring Initializrの出力を使用して構築されたエラーを公開するproject to Githubを公開しました。
参考までに、私のbuild.gradleは次のとおりです。プロジェクトを誤って設定していますか?それとも、現在のSpringとNeo4jのマイルストーンビルドにもっと重大な問題がありますか?
buildscript {
ext {
springBootVersion = '2.0.0.M4'
}
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/snapshot' }
maven { url 'https://repo.spring.io/milestone' }
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
version = "0.0.1-SNAPSHOT"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
compile "org.apache.tomcat.embed:tomcat-embed-jasper"
compile "org.springframework.boot:spring-boot-starter-web"
compile "org.springframework.boot:spring-boot-starter-data-neo4j"
runtime "org.springframework.boot:spring-boot-devtools"
}
残りのコードは、前述のようにGithubで利用できます。
ああ、はい、私の好きなものです。ありがとう、私はこれを試してみます。 – ben3000
問題をはっきりと修正してくれてありがとう、ありがとう。RTFMをもっと慎重に思い出すことができます。 – ben3000