Can you tell us some more, are you using camel-swagger (with scala) or the new camel-swagger-java ?
And the error looks like classloading issue in widlfly. So it depends how you deploy and run in wildfly. You can take a look at wildfly-camel project, where they work on Camel running on WildFly using the widlfly modules system https://github.com/wildfly-extras/wildfly-camel On Sat, Oct 17, 2015 at 12:23 AM, Anton Hughes <[email protected]> wrote: > Hi > > I recently upgraded to Camel 2.16, and when I try to call the swagger > documentation for my camel rest service in wildfly 9.1, I get the following > error: > > 22:19:53,900 ERROR [io.undertow.request] (default task-29) UT005023: > Exception handling request to /indicator-service/api-docs: > java.lang.NoClassDefFoundError: Could not initialize class > org.apache.camel.swagger.RestModelConverters > > Any suggestions on how to fix this? > > Br > Anton -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: https://www.manning.com/books/camel-in-action-second-edition
