Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is apache camel compatible with Springboot 2.0?

Which version of apache-camel is compatible with Springboot 2.0?

I keep getting this error

Caused by: java.lang.ClassNotFoundException: org.springframework.boot.bind.RelaxedPropertyResolver
    at java.net.URLClassLoader.findClass (URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass (ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass (ClassLoader.java:357)
    at org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator.isEnabled (HierarchicalPropertiesEvaluator.java:49)
    at org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator.evaluate (HierarchicalPropertiesEvaluator.java:42)
    at org.apache.camel.spring.boot.util.GroupCondition.getMatchOutcome (GroupCondition.java:40)
like image 415
Espresso Avatar asked Oct 16 '22 20:10

Espresso


1 Answers

It is not yet compatible as it is using Spring 1.15.x. support is planned for Camel 2.22.

Migrated Spring boot 1.5 to 2.0, unable to start app getting: java.lang.ClassNotFoundException: org.springframework.boot.bind.RelaxedPropertyResolver

like image 50
Mohit Mutha Avatar answered Oct 21 '22 05:10

Mohit Mutha