You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "petrroda (via GitHub)" <gi...@apache.org> on 2023/04/15 15:09:34 UTC

[GitHub] [camel-karavan] petrroda opened a new issue, #724: Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: javaCaused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: java

petrroda opened a new issue, #724:
URL: https://github.com/apache/camel-karavan/issues/724

   When running my own code but also the 
   
   karavan-demo/rest-service)/quarkus/ 
   
   with quarkus dev I get the 
   
   Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: javaCaused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: java


-- 
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: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] petrroda commented on issue #724: Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: javaCaused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: java

Posted by "petrroda (via GitHub)" <gi...@apache.org>.
petrroda commented on issue #724:
URL: https://github.com/apache/camel-karavan/issues/724#issuecomment-1512563530

   Hi, 
   
   I have the same behaviour with Camel K and an integration directory. How should the custom java files be placed within an Camel K integration directory?
   
   Greets
   Petr


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: javaCaused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: java [camel-karavan]

Posted by "leandremucyo (via GitHub)" <gi...@apache.org>.
leandremucyo commented on issue #724:
URL: https://github.com/apache/camel-karavan/issues/724#issuecomment-1865199745

   Had a similar issue with a slightly different error : Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: **csv**
   
   RoutesConfigurer showed the following log:
   `Discovered 1 additional RoutesBuilder from registry: classpath:camel/*,classpath:camel-template/*,classpath:camel-rest/*`
   
   In the test resources folder I have a subfolder named `camel` containing csv files, this folder was getting processed and the extension of csv gets picked up. Renaming the my folder to something else fixed the issue.
   
   If the full path of those `jkube.yaml` is on classpath with camel/ or camel-template/ or camel-rest/  consider renaming it, after renaming the folder I had issue was fixed. 


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: javaCaused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: java [camel-karavan]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #724:
URL: https://github.com/apache/camel-karavan/issues/724#issuecomment-1792020700

   Yeah we should skip those files
   https://issues.apache.org/jira/browse/CAMEL-20076
   
   You can use --exclude to skip the files if you run Camel manually from terminal 


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] davsclaus commented on issue #724: Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: javaCaused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: java

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #724:
URL: https://github.com/apache/camel-karavan/issues/724#issuecomment-1512579613

   And if you are using camel-jbang 3.20.3, then you can downgrade to 3.20.2 as it should work with exporting.
   A new 3.20.4 release (fixed) is coming later this month.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] davsclaus commented on issue #724: Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: javaCaused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: java

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #724:
URL: https://github.com/apache/camel-karavan/issues/724#issuecomment-1509884319

   Yes if you export to quarkus then you may have that problem
   https://issues.apache.org/jira/browse/CAMEL-19267
   
   You can edit the file src/main/resources/application.properties, where mistakenly there is a line that says camel/xxx.java


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-karavan] davsclaus commented on issue #724: Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: javaCaused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: java

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #724:
URL: https://github.com/apache/camel-karavan/issues/724#issuecomment-1512578672

   You need to ask in the camel-k chat room or their issue tracker
   https://github.com/apache/camel-k


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: javaCaused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: java [camel-karavan]

Posted by "skumaravelan (via GitHub)" <gi...@apache.org>.
skumaravelan commented on issue #724:
URL: https://github.com/apache/camel-karavan/issues/724#issuecomment-1791296444

   : Error reloading routes due to Cannot find RoutesBuilderLoader in classpath supporting file extension: jkube.yaml. This exception is ignored.
   java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: jkube.yaml
   	at org.apache.camel.impl.engine.DefaultRoutesLoader.resolveRoutesBuilderLoader(DefaultRoutesLoader.java:225) ~[camel-base-engine-4.0.0.jar:4.0.0]
   	at org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilders(DefaultRoutesLoader.java:99) ~[camel-base-engine-4.0.0.jar:4.0.0]
   	at org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilders(DefaultRoutesLoader.java:88) ~[camel-base-engine-4.0.0.jar:4.0.0]
   	at org.apache.camel.impl.engine.DefaultRoutesLoader.updateRoutes(DefaultRoutesLoader.java:197) ~[camel-base-engine-4.0.0.jar:4.0.0]
   	at org.apache.camel.support.RouteWatcherReloadStrategy.onRouteReload(RouteWatcherReloadStrategy.java:289) ~[camel-support-4.0.0.jar:4.0.0]
   	at org.apache.camel.support.RouteOnDemandReloadStrategy.doOnReload(RouteOnDemandReloadStrategy.java:114) ~[camel-support-4.0.0.jar:4.0.0]
   	at org.apache.camel.support.RouteOnDemandReloadStrategy.onReload(RouteOnDemandReloadStrategy.java:74) ~[camel-support-4.0.0.jar:4.0.0]
   	at org.apache.camel.impl.console.ReloadDevConsole.lambda$doCallJson$1(ReloadDevConsole.java:71) ~[camel-console-4.0.0.jar:4.0.0]
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
   	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org