gus-maurizio opened a new issue #2612:
URL: https://github.com/apache/camel-quarkus/issues/2612


   Hi. When I change the quarkus.package.type to fast-jar (from uber-jar) in 
the application.properties, the application fails to find 
org.apache.camel.builder and fails. Works fine with uber-jar.
   ```
   java -jar target/quarkus-app/quarkus-run.jar
   May 18, 2021 8:14:46 AM org.jboss.threads.Version <clinit>
   INFO: JBoss Threads version 3.2.0.Final
   May 18, 2021 8:14:46 AM org.apache.camel.quarkus.core.CamelBootstrapRecorder 
start
   INFO: bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
   __  ____  __  _____   ___  __ ____  ______
    --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
    -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
   --\___\_\____/_/ |_/_/|_/_/|_|\____/___/
   2021-05-18 08:14:47,027 INFO  [org.apa.cam.mai.BaseMainSupport] (main) 
Auto-configuration summary
   2021-05-18 08:14:47,029 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.durationMaxMessages=100000
   2021-05-18 08:14:47,029 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.uuidGenerator=short
   2021-05-18 08:14:47,029 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.durationMaxSeconds=300
   2021-05-18 08:14:47,029 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.durationMaxIdleSeconds=90
   2021-05-18 08:14:47,030 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.exchangeFactoryStatisticsEnabled=true
   2021-05-18 08:14:47,030 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.exchangeFactory=pooled
   2021-05-18 08:14:47,030 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.routesIncludePattern=classpath:myRoutes/*
   2021-05-18 08:14:47,030 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.exchangeFactoryCapacity=25
   2021-05-18 08:14:47,030 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.name=AppName.MyCamelContext
   2021-05-18 08:14:47,030 INFO  [org.apa.cam.mai.BaseMainSupport] (main)     
camel.main.lightweight=true
   2021-05-18 08:14:47,380 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) 
Failed to start application: org.joor.ReflectException: Compilation error: 
/MyRouteBuilder.java:3: error: package org.apache.camel.builder does not exist
   import org.apache.camel.builder.RouteBuilder;
                                  ^
   /MyRouteBuilder.java:5: error: cannot find symbol
   public class MyRouteBuilder extends RouteBuilder {
                                       ^
     symbol: class RouteBuilder
   /MyRouteBuilder.java:7: error: method does not override or implement a 
method from a supertype
       @Override
       ^
   /MyRouteBuilder.java:9: error: cannot find symbol
   ```


-- 
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]


Reply via email to