Подтвердить что ты не робот

Не удалось развернуть процессор spring -xd с помощью spring -data-jpa на xd-singlenode

У меня есть процессор spring -xd, который имеет зависимость от проекта с помощью spring -data-jpa:

pom.xml модуля xd-процессора:

<dependencies>
    <dependency>
        <groupId>org.test.common</groupId>
        <artifactId>org.test.common</artifactId>
        <version>0.0.1-SNAPSHOT</version>
    </dependency>
</dependencies>

pom.xml org.test.common:

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-jpa</artifactId>
    </dependency>
</dependencies>

Если я запустил интеграционный тест, все работает отлично. Но развертывание в xd-singlenode (1.2.0.RELEASE) не выполняется со следующей ошибкой:

2015-06-21T20:50:35+0200 1.2.0.RELEASE ERROR    DeploymentsPathChildrenCache-0 boot.SpringApplication - Application startup failed
java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter
    at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:58) ~[spring-boot-autoconfigure-1.2.3.RELEASE.jar:1.2.3.RELEASE]
...
Caused by: java.lang.IllegalArgumentException: @ConditionalOnMissingBean annotations must specify at least one bean (type, name or annotation)
...

Вы можете проверить полный образец на github.

Что я делаю неправильно? Любая помощь будет оценена.

4b9b3361

Ответ 1

попробуйте ниже решение

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>1.2.6.RELEASE</version>

нажмите здесь, чтобы узнать больше