moehajj commented on issue #2205:
URL: https://github.com/apache/camel-k/issues/2205#issuecomment-818834973
Hi @astefanutti, following your request to go from `fromF` to `from`, I also
get the following error - it appeared when I removed the trait `deployer.kind`.
However it still runs successfully when running my unit tests locally.
```
[1] 2021-04-13 15:34:51,955 INFO [org.apa.cam.k.Runtime] (main) Apache
Camel K Runtime 1.6.0
[1] 2021-04-13 15:34:51,961 INFO
[org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) bootstrap runtime:
org.apache.camel.quarkus.main.CamelMainRuntime
[1] 2021-04-13 15:34:52,019 INFO [org.apa.cam.k.lis.SourcesConfigurer]
(main) Loading routes from: SourceDefinition{name='ComputeGrpcCamelRoute',
language='java',
location='file:/etc/camel/sources/i-source-000/ComputeGrpcCamelRoute.java', }
[1] 2021-04-13 15:34:53,070 INFO [org.apa.cam.imp.eng.AbstractCamelContext]
(main) Apache Camel 3.7.0 (camel-1) is starting
[1] 2021-04-13 15:34:53,072 INFO [org.apa.cam.imp.eng.AbstractCamelContext]
(main) StreamCaching is not in use. If using streams then it's recommended to
enable stream caching. See more details at
http://camel.apache.org/stream-caching.html
[1] 2021-04-13 15:34:53,080 ERROR [org.apa.cam.imp.eng.AbstractCamelContext]
(main) Error starting CamelContext (camel-1) due to exception thrown: Unable to
find generated class for service ComputeService:
java.lang.IllegalStateException: Unable to find generated class for service
ComputeService
[1] at
org.apache.camel.quarkus.grpc.runtime.QuarkusBindableServiceFactory.lambda$createBindableService$1(QuarkusBindableServiceFactory.java:58)
[1] at java.base/java.util.Optional.orElseThrow(Optional.java:408)
[1] at
org.apache.camel.quarkus.grpc.runtime.QuarkusBindableServiceFactory.createBindableService(QuarkusBindableServiceFactory.java:57)
[1] at
org.apache.camel.quarkus.grpc.runtime.CamelGrpcRecorder$QuarkusGrpcConsumer.doStart(CamelGrpcRecorder.java:82)
[1] at
org.apache.camel.support.service.BaseService.start(BaseService.java:115)
[1] at
org.apache.camel.impl.engine.AbstractCamelContext.startService(AbstractCamelContext.java:3108)
[1] at
org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRouteConsumers(InternalRouteStartupManager.java:362)
[1] at
org.apache.camel.impl.engine.InternalRouteStartupManager.doStartRouteConsumers(InternalRouteStartupManager.java:282)
[1] at
org.apache.camel.impl.engine.InternalRouteStartupManager.safelyStartRouteServices(InternalRouteStartupManager.java:181)
[1] at
org.apache.camel.impl.engine.InternalRouteStartupManager.doStartOrResumeRoutes(InternalRouteStartupManager.java:115)
[1] at
org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:2889)
[1] at
org.apache.camel.impl.engine.AbstractCamelContext.doStartContext(AbstractCamelContext.java:2702)
[1] at
org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2665)
[1] at
org.apache.camel.support.service.BaseService.start(BaseService.java:115)
[1] at
org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2431)
[1] at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:75)
[1] at
org.apache.camel.support.service.BaseService.start(BaseService.java:115)
[1] at
org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:120)
[1] at
org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
[1] at
org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
[1] at
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101)
[1] at
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40)
[1] at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:675)
[1] at io.quarkus.runtime.Application.start(Application.java:90)
[1] at
io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:97)
[1] at io.quarkus.runtime.Quarkus.run(Quarkus.java:62)
[1] at io.quarkus.runtime.Quarkus.run(Quarkus.java:38)
[1] at io.quarkus.runtime.Quarkus.run(Quarkus.java:104)
[1] at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]