{"action":"created","issue":{"url":"https://api.github.com/repos/wildfly-extras/wildfly-camel/issues/923","labels_url":"https://api.github.com/repos/wildfly-extras/wildfly-camel/issues/923/labels{/name}","comments_url":"https://api.github.com/repos/wildfly-extras/wildfly-camel/issues/923/comments","events_url":"https://api.github.com/repos/wildfly-extras/wildfly-camel/issues/923/events","html_url":"https://github.com/wildfly-extras/wildfly-camel/issues/923","id":112346056,"number":923,"title":"Error with swagger - RestModelConverters","user":{"login":"magick93","id":2173213,"avatar_url":"https://avatars.githubusercontent.com/u/2173213?v=3","gravatar_id":"","url":"https://api.github.com/users/magick93","html_url":"https://github.com/magick93","followers_url":"https://api.github.com/users/magick93/followers","following_url":"https://api.github.com/users/magick93/following{/other_user}","gists_url":"https://api.github.com/users/magick93/gists{/gist_id}","starred_url":"https://api.github.com/users/magick93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magick93/subscriptions","organizations_url":"https://api.github.com/users/magick93/orgs","repos_url":"https://api.github.com/users/magick93/repos","events_url":"https://api.github.com/users/magick93/events{/privacy}","received_events_url":"https://api.github.com/users/magick93/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wildfly-extras/wildfly-camel/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jamesnetherton","id":4721408,"avatar_url":"https://avatars.githubusercontent.com/u/4721408?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesnetherton","html_url":"https://github.com/jamesnetherton","followers_url":"https://api.github.com/users/jamesnetherton/followers","following_url":"https://api.github.com/users/jamesnetherton/following{/other_user}","gists_url":"https://api.github.com/users/jamesnetherton/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesnetherton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesnetherton/subscriptions","organizations_url":"https://api.github.com/users/jamesnetherton/orgs","repos_url":"https://api.github.com/users/jamesnetherton/repos","events_url":"https://api.github.com/users/jamesnetherton/events{/privacy}","received_events_url":"https://api.github.com/users/jamesnetherton/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/wildfly-extras/wildfly-camel/milestones/8","html_url":"https://github.com/wildfly-extras/wildfly-camel/milestones/3.2.0","labels_url":"https://api.github.com/repos/wildfly-extras/wildfly-camel/milestones/8/labels","id":1294839,"number":8,"title":"3.2.0","description":"","creator":{"login":"tdiesler","id":244946,"avatar_url":"https://avatars.githubusercontent.com/u/244946?v=3","gravatar_id":"","url":"https://api.github.com/users/tdiesler","html_url":"https://github.com/tdiesler","followers_url":"https://api.github.com/users/tdiesler/followers","following_url":"https://api.github.com/users/tdiesler/following{/other_user}","gists_url":"https://api.github.com/users/tdiesler/gists{/gist_id}","starred_url":"https://api.github.com/users/tdiesler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdiesler/subscriptions","organizations_url":"https://api.github.com/users/tdiesler/orgs","repos_url":"https://api.github.com/users/tdiesler/repos","events_url":"https://api.github.com/users/tdiesler/events{/privacy}","received_events_url":"https://api.github.com/users/tdiesler/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":9,"state":"open","created_at":"2015-09-08T07:40:09Z","updated_at":"2015-10-21T09:13:54Z","due_on":"2015-11-30T23:00:00Z","closed_at":null},"comments":4,"created_at":"2015-10-20T11:22:41Z","updated_at":"2015-10-21T09:20:10Z","closed_at":null,"body":"Hi\r\n\r\nI 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:\r\n\r\n22: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\r\n\r\nI am using latest stable of wildfly-camel. Wildfly 9.0.1 with Camel 2.16, with camel-swagger-java.\r\n\r\nAny suggestions on how to fix this?"},"comment":{"url":"https://api.github.com/repos/wildfly-extras/wildfly-camel/issues/comments/149832225","html_url":"https://github.com/wildfly-extras/wildfly-camel/issues/923#issuecomment-149832225","issue_url":"https://api.github.com/repos/wildfly-extras/wildfly-camel/issues/923","id":149832225,"user":{"login":"jamesnetherton","id":4721408,"avatar_url":"https://avatars.githubusercontent.com/u/4721408?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesnetherton","html_url":"https://github.com/jamesnetherton","followers_url":"https://api.github.com/users/jamesnetherton/followers","following_url":"https://api.github.com/users/jamesnetherton/following{/other_user}","gists_url":"https://api.github.com/users/jamesnetherton/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesnetherton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesnetherton/subscriptions","organizations_url":"https://api.github.com/users/jamesnetherton/orgs","repos_url":"https://api.github.com/users/jamesnetherton/repos","events_url":"https://api.github.com/users/jamesnetherton/events{/privacy}","received_events_url":"https://api.github.com/users/jamesnetherton/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T09:20:10Z","updated_at":"2015-10-21T09:20:10Z","body":"Here's the root cause:\r\n\r\n```\r\njava.lang.NoClassDefFoundError: com/fasterxml/jackson/core/PrettyPrinter\r\n```\r\n\r\nAs a workaround you can add a module dependency to `modules/system/layers/fuse/org/apache/camel/component/swagger/main/module.xml` for:\r\n\r\n```xml\r\n<module name=\"com.fasterxml.jackson.core.jackson-core\" />\r\n```\r\n"}}