Camel 3.14 needs spring boot 2.6.x Il lun 3 gen 2022, 17:17 MÜLLER Christian (ICS460-BAI) <christian.muel...@spar-ics.com.invalid> ha scritto:
> Hi Guys, > > we currently switched from camel 3.11 to 3.14. > We use: > > <groupId>org.apache.camel</groupId> > <artifactId>camel-restdsl-openapi-plugin</artifactId> > <version>3.14.0</version> > > to generate our camel rest routes. > > Since the Update the application fails to startup with the following error > (we use springboot) > Exception encountered during context initialization - cancelling refresh > attempt: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'ecomCustomerInfo' defined in file > Error creating bean with name 'camelContext': Requested bean is currently > in creation: Is there an unresolvable circular reference? > > @Generated("org.apache.camel.generator.openapi.PathGenerator") > @Component > public final class EcomCustomerInfo extends RouteBuilder { > > > Running the same application with camel 3.11 works! The code generated by > the plugin does not differ from 3.11 and 3.14. > Can you help use? Do we have to upgrade springboot as well? We are > currently using springboot version 2.4.1 > > Thx a lot for your help, > Regards Christian > > > Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, so > weisen wir Sie darauf hin, dass gemäß § 93 Abs 4 TKG der Inhalt sowie die > Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch verwertet oder > Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht von > Ihrem System zu löschen und sich mit uns in Verbindung zu setzen. If you > have received this email accidentally or in error, we point out that, in > accordance with § 93 para. 4 TKG (Telecommunications Act), the contents of > this email and the fact of its receipt must not be recorded, exploited or > communicated to unauthorized persons. We ask you to delete the message from > your system and to contact us. > > Intern I Internal > <https://www.spar-ics.com/> > > Dipl. Ing. Christian Müller > Software Engineer > Business Automation & Integration > *Mobile:* +43 664 88748100 > *E-Mail:* christian.muel...@spar-ics.com > > *SPAR Business Services GmbH*Information & Communication Services > Europastrasse 3, 5015 Salzburg, Austria > >