tplevko opened a new pull request #661:
URL: https://github.com/apache/camel-k-runtime/pull/661


   <!-- Description -->
   Based on 
[comment](https://github.com/apache/camel-k-runtime/pull/643#issuecomment-804727535)
 - adding the option to run the examples using:
   
   `mvn clean compile quarkus:dev`
   
   @lburgazzoli there seems to be a problem with the java example, which 
doesn't seem to run using the above mentioned command - there seems to be a 
problem with classloading, the problem is:
   
   ```
   2021-04-16 13:51:22,023 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] 
(Quarkus Main Thread) Failed to start application: 
org.apache.camel.RuntimeCamelException: org.joor.ReflectException: Compilation 
error: /MyRoutes.java:17: error: package org.apache.camel.builder does not exist
   import org.apache.camel.builder.RouteBuilder;
                                  ^
   /MyRoutes.java:19: error: cannot find symbol
   public class MyRoutes extends RouteBuilder {
                                 ^
     symbol: class RouteBuilder
   2 errors
   ```
   
   I couldn't find the cause of this issue, I can however remove the option 
from this example, in case there is no easy solution.
   
   <!--
   Enter your extended release note in the below block. If the PR requires
   additional action from users switching to the new release, include the string
   "action required". If no release note is required, write "NONE". 
   
   You can (optionally) mark this PR with labels "kind/bug" or "kind/feature" 
to make sure
   the text is added to the right section of the release notes. 
   -->
   
   
   
   **Release Note**
   ```release-note
   NONE
   ```
   


-- 
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:
us...@infra.apache.org


Reply via email to