Hi,

I was trying to get some visualisation of my developped route, and so I
tried the mvn camel:dot target on my route.
But then I got the following stacktrace. Any clue ? I use Camel 2.7.0 and my
route is configured via Spring XML...

[INFO] Running Camel embedded to load Spring XML files from classpath:
META-INF/spring/*.xml
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
[FATAL ERROR] org.apache.camel.maven.DotMojo#execute() caused a linkage
error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the
realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.apache.camel:camel-maven-plugin:2.7.0]


[...]

[INFO] Trace
java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:230)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:112)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:275)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:261)
at org.apache.camel.impl.MainSupport.<clinit>(MainSupport.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.camel.maven.EmbeddedMojo.runCamel(EmbeddedMojo.java:223)
at
org.apache.camel.maven.EmbeddedMojo.executeWithoutWrapping(EmbeddedMojo.java:127)
at org.apache.camel.maven.DotMojo.runCamelEmbedded(DotMojo.java:380)
at org.apache.camel.maven.DotMojo.execute(DotMojo.java:256)
at org.apache.camel.maven.DotMojo.execute(DotMojo.java:221)

Reply via email to