You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/11/09 20:57:42 UTC

[GitHub] [camel-k] doru1004 edited a comment on pull request #1805: Add local-run subcommand with basic support

doru1004 edited a comment on pull request #1805:
URL: https://github.com/apache/camel-k/pull/1805#issuecomment-724273406


   > I get some errors due to the transition to Quarkus (e.g. main class changed):
   > 
   > ```
   > Caused by: java.lang.ClassNotFoundException: org.apache.camel.k.main.Application
   > ```
   
   I updated the class to:
   
   ```
   org.apache.camel.k.quarkus.Application
   ```
   
   But I am now running into this error:
   
   ```
   Error: Main method not found in class org.apache.camel.k.quarkus.Application, please define the main method as:
      public static void main(String[] args)
   ```
   
   It looks like the main function was removed during the update process, is that intentional? And if so what other class should I be using instead. There seems to be no main method in any of the camel-k-runtime files.


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