ennishol opened a new issue #1800:
URL: https://github.com/apache/camel-quarkus/issues/1800


   camel-quarkus-examples-timer-log-main fails to start in Intelij:
   
   Caused by: java.lang.IllegalArgumentException: The supplied 'main-class' 
value of 'org.apache.camel.quarkus.main.CamelMainApplication' does not 
correspond to either a fully qualified class name or a matching 'name' field of 
one of the '@QuarkusMain' annotations
   
   Stacktrace:
   ...
   ...
   
   
   at io.quarkus.builder.Execution.run(Execution.java:116)
   at 
io.quarkus.builder.BuildExecutionBuilder.execute(BuildExecutionBuilder.java:79)
   at io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:149)
   at 
io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:250)
   ... 18 more
   Caused by: java.lang.IllegalArgumentException: The supplied
   'main-class' value of
   'org.apache.camel.quarkus.main.CamelMainApplication' does not
   correspond to either a fully qualified class name or a matching 'name'
   field of one of the '@QuarkusMain' annotations
   at 
io.quarkus.deployment.steps.MainClassBuildStep.mainClassBuildStep(MainClassBuildStep.java:400)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
   Method)
   at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:564)
   at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:936)
   at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
   at 
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
   at 
org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046)
   at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578)
   at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
   at java.base/java.lang.Thread.run(Thread.java:832)
   at org.jboss.threads.JBossThread.run(JBossThread.java:479)
   
   2020-09-16 16:35:45,823 INFO  [io.qua.dep.dev.IsolatedDevModeMain]
   (main) Attempting to start hot replacement endpoint to recover from
   previous Quarkus startup failure


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