I put together this complete minimal example (uses Gradle or build):
https://github.com/tdudgeon/camel-cdi-se-example
Tim
On 20/01/2017 12:11, Antonin Stefanutti wrote:
Hi Tim,
DeltaSpike is only used by this Main class to bootstrap Camel CDI in Java SE.
So the dependency is optional to avoi
Thanks. Adding Deltaspike explicitly was the solution.
Tim
On 20/01/2017 12:11, Antonin Stefanutti wrote:
Hi Tim,
DeltaSpike is only used by this Main class to bootstrap Camel CDI in Java SE.
So the dependency is optional to avoid polluting the classpath for other target
runtimes.
In the Ca
Hi Tim,
DeltaSpike is only used by this Main class to bootstrap Camel CDI in Java SE.
So the dependency is optional to avoid polluting the classpath for other target
runtimes.
In the Camel examples, we add it to the Camel Maven plugin dependency, see:
https://github.com/apache/camel/blob/6e95a
Hi,
I'm trying to setup a simple Java SE app using Camel CDI and Weld.
The docs state that this can be run using the org.apache.camel.cdi.Main
class.
However when running this I get an exception:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/deltaspike/cdise/api/CdiCo