You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BeanConfig swaggerConfig = new BeanConfig();
swaggerConfig.setVersion("2.0"); // This is the swagger version?
swaggerConfig.setResourcePackage("com.kessel");
swaggerConfig.setScan(true);
swaggerConfig.setBasePath(".." + environment.getApplicationContext().getContextPath());
Results in this stack trace:
Exception in thread "main" java.lang.InstantiationError: com.wordnik.swagger.config.SwaggerConfig
at com.wordnik.swagger.config.ConfigFactory$.<init>(ConfigFactory.scala:7)
at com.wordnik.swagger.config.ConfigFactory$.<clinit>(ConfigFactory.scala)
at com.wordnik.swagger.jaxrs.config.BeanConfig.<init>(BeanConfig.scala:26)
I've got the following two dependencies in gradle. That should be sufficient, yes?
Results in this stack trace:
I've got the following two dependencies in gradle. That should be sufficient, yes?
The text was updated successfully, but these errors were encountered: