Hi

Camel 2.21.x or older is Spring Boot 1.5.x
Camel 2.22.x is Spring Boot 2.0.x only
Camel 2.23.x is Spring Boot 2.1.x (and potentially also Spring Boot 2.0.x)

On Tue, Dec 25, 2018 at 9:28 AM Alper Kopuz <alperko...@gmail.com> wrote:
>
> Hello Everyone
>
>
> Anyone could englighten me which org.apache.*camel* version I should use
> with the Spring boot version 2.0.0 .RELEASE.
>
> When I used newer versions of apache.camel such like 2.21.0 , I come across
> with RelaxedPropertyResolved error. I read the forums and I was told to
> downgrade the version of Spring Boot which I cant. I have to use
> sprint.boot.version 2.0.0 with a new apache.camel.version without making
> changes at my java code ?
>
> Do you think is it possible?
>
> These are my dependecies for camel.version and spring.boot.version. Please
> let me know if you need anything more.
>
>          <dependency>
>             <groupId>org.apache.camel</groupId>
>             <artifactId>camel-bom</artifactId>
>             <version>${camel.version}</version>
>             <type>pom</type>
>             <scope>import</scope>
>             <version>2.21.0
>          </dependency>
>          <dependency>
>             <groupId>org.springframework.boot</groupId>
>             <artifactId>spring-boot-starter-parent</artifactId>
>             <version>${spring.boot.version}</version>
>             <type>pom</type>
>             <scope>import</scope>
>             <version>2.21.0</version>
>         </dependency>
>
> Error :
>
> at com.project.eventrouter.Application.main(Application.java:26)Caused
> by: java.lang.IllegalStateException: Could not evaluate condition on
> org.apache.camel.spring.boot.security.CamelSSLAutoConfiguration due to
> org/springframework/boot/bind/RelaxedPropertyResolver not found. Make sure
> your own configuration does not rely on that class. This can also happen if
> you are @ComponentScanning a springframework package (e.g. if you put
> a @ComponentScan in the default package by mistake)
> org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:55)
> at 
> org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:109)
> at 
> org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:217)
> at 
> org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:606)...
> 13 common frames omitted
>
>
>
> --
> *   ALPER KOPUZ*
> *Software Engineer  *
>
>
> --
> *   ALPER KOPUZ*
> *Software Engineer  *



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to