fattahmahran commented on issue #2396:
URL:
https://github.com/apache/camel-kamelets/issues/2396#issuecomment-2683147397
I was missing this dependency thanks for mentioning that
` <dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
<version>4.9.0</version>
</dependency>`
but now i'm getting this error
`2025-02-25 19:53:53,325 ERROR [io.qua.run.Application] (main) Failed to
start application: java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:101)
at
io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:119)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:71)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:44)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:124)
at io.quarkus.runner.GeneratedMain.main(Unknown Source)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at
io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:62)
at
io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:33)
Caused by: java.lang.NoSuchMethodError: 'java.lang.String
org.apache.camel.util.IOHelper.normalizeEnvironmentVariable(java.lang.String)'
at
org.apache.camel.component.kamelet.Kamelet.extractKameletEnvironmentVariables(Kamelet.java:151)
at
org.apache.camel.component.kamelet.KameletComponent.createEndpoint(KameletComponent.java:234)
at
org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171)
at
org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:805)
at
org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:739)
at
org.apache.camel.support.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:66)
at
org.apache.camel.reifier.AbstractReifier.resolveEndpoint(AbstractReifier.java:199)
at
org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:106)
at
org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:86)
at
org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49)
at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:726)
at
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:592)
at
org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2429)
at
org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:195)
at
org.apache.camel.support.service.BaseService.init(BaseService.java:85)
at
org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2064)
at
org.apache.camel.support.service.BaseService.start(BaseService.java:115)
at
org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2083)
at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:211)
at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:91)
at
org.apache.camel.support.service.BaseService.start(BaseService.java:123)
at
org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:137)
at
org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
at
org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
at
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy_0(Unknown
Source)
at
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy(Unknown
Source)
... 11 more`
Do I miss another dependency?!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]