WARN [2017-11-06 18:12:45,325] org.reflections.Reflections: could not get type for name org.apache.tools.ant.taskdefs.MatchingTask from any class loader
! java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.MatchingTask
! at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
! at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
! at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
! at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:388)
! ... 14 common frames omitted
! Causing: org.reflections.ReflectionsException: could not get type for name org.apache.tools.ant.taskdefs.MatchingTask
! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390)
! at org.reflections.Reflections.expandSuperTypes(Reflections.java:381)
! at org.reflections.Reflections.<init>(Reflections.java:126)
! at io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:276)
! at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:240)
! at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:221)
! at io.federecio.dropwizard.swagger.SwaggerBundleConfiguration.build(SwaggerBundleConfiguration.java:287)
! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:66)
! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:33)
! at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
! at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)
! at io.dropwizard.cli.Cli.run(Cli.java:75)
! at io.dropwizard.Application.run(Application.java:93)
! at com.shepper.ShepherdServiceApplication.main(ShepherdServiceApplication.java:24)
WARN [2017-11-06 18:12:45,326] org.reflections.Reflections: could not get type for name org.zeroturnaround.javarebel.ClassEventListener from any class loader
! java.lang.ClassNotFoundException: org.zeroturnaround.javarebel.ClassEventListener
! at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
! at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
! at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
! at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:388)
! ... 14 common frames omitted
! Causing: org.reflections.ReflectionsException: could not get type for name org.zeroturnaround.javarebel.ClassEventListener
! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390)
! at org.reflections.Reflections.expandSuperTypes(Reflections.java:381)
! at org.reflections.Reflections.<init>(Reflections.java:126)
! at io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:276)
! at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:240)
! at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:221)
! at io.federecio.dropwizard.swagger.SwaggerBundleConfiguration.build(SwaggerBundleConfiguration.java:287)
! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:66)
! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:33)
! at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
! at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)
! at io.dropwizard.cli.Cli.run(Cli.java:75)
! at io.dropwizard.Application.run(Application.java:93)
! at com.shepper.ShepherdServiceApplication.main(ShepherdServiceApplication.java:24)
WARN [2017-11-06 18:12:45,328] org.reflections.Reflections: could not get type for name groovy.lang.Closure from any class loader
! java.lang.ClassNotFoundException: groovy.lang.Closure
! at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
! at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
! at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
! at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:388)
! ... 14 common frames omitted
! Causing: org.reflections.ReflectionsException: could not get type for name groovy.lang.Closure
! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390)
! at org.reflections.Reflections.expandSuperTypes(Reflections.java:381)
! at org.reflections.Reflections.<init>(Reflections.java:126)
! at io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:276)
! at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:240)
! at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:221)
! at io.federecio.dropwizard.swagger.SwaggerBundleConfiguration.build(SwaggerBundleConfiguration.java:287)
! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:66)
! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:33)
! at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
! at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)
! at io.dropwizard.cli.Cli.run(Cli.java:75)
! at io.dropwizard.Application.run(Application.java:93)
! at com.shepper.ShepherdServiceApplication.main(ShepherdServiceApplication.java:24)
<dependency>
<groupId>com.smoketurner</groupId>
<artifactId>dropwizard-swagger</artifactId>
<version>1.1.2-1</version>
<exclusions>
<exclusion>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.10</version>
</dependency>
INFO [2018-01-11 16:22:18,145] org.eclipse.jetty.util.log: Logging initialized @1465ms to org.eclipse.jetty.util.log.Slf4jLogINFO [2018-01-11 16:22:18,263] io.dropwizard.server.DefaultServerFactory: Registering jersey handler with root path prefix: /INFO [2018-01-11 16:22:18,264] io.dropwizard.server.DefaultServerFactory: Registering admin handler with root path prefix: /WARN [2018-01-11 16:22:18,287] com.google.common.cache.CacheBuilder: ignoring weigher specified without maximumWeight
INFO [2018-01-11 16:27:02,677] org.eclipse.jetty.util.log: Logging initialized @1615ms to org.eclipse.jetty.util.log.Slf4jLogINFO [2018-01-11 16:27:02,791] io.dropwizard.server.DefaultServerFactory: Registering jersey handler with root path prefix: /INFO [2018-01-11 16:27:02,792] io.dropwizard.server.DefaultServerFactory: Registering admin handler with root path prefix: /WARN [2018-01-11 16:27:02,814] com.google.common.cache.CacheBuilder: ignoring weigher specified without maximumWeightINFO [2018-01-11 16:29:18,529] org.eclipse.jetty.util.log: Logging initialized @1758ms to org.eclipse.jetty.util.log.Slf4jLogINFO [2018-01-11 16:29:18,675] io.dropwizard.server.DefaultServerFactory: Registering jersey handler with root path prefix: /INFO [2018-01-11 16:29:18,677] io.dropwizard.server.DefaultServerFactory: Registering admin handler with root path prefix: /WARN [2018-01-11 16:29:18,705] com.google.common.cache.CacheBuilder: ignoring weigher specified without maximumWeightINFO [2018-01-11 16:29:18,726] io.dropwizard.assets.AssetsBundle: Registering AssetBundle with name: swagger-assets for path /api/swagger-static/*INFO [2018-01-11 16:29:18,728] io.dropwizard.assets.AssetsBundle: Registering AssetBundle with name: swagger-oauth2-connect for path /apio2c.html/*INFO [2018-01-11 16:29:21,158] org.reflections.Reflections: Reflections took 2415 ms to scan 1 urls, producing 35680 keys and 62732 values WARN [2018-01-11 16:29:21,176] org.reflections.Reflections: could not get type for name javax.cache.management.CacheStatisticsMXBean from any class loader! java.lang.ClassNotFoundException: javax.cache.management.CacheStatisticsMXBean! at java.net.URLClassLoader.findClass(URLClassLoader.java:381)! at java.lang.ClassLoader.loadClass(ClassLoader.java:424)! at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)! at java.lang.ClassLoader.loadClass(ClassLoader.java:357)! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:388)! ... 14 common frames omitted! Causing: org.reflections.ReflectionsException: could not get type for name javax.cache.management.CacheStatisticsMXBean! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390)! at org.reflections.Reflections.expandSuperTypes(Reflections.java:381)! at org.reflections.Reflections.<init>(Reflections.java:126)! at io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:276)! at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:240)! at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:221)! at io.federecio.dropwizard.swagger.SwaggerBundleConfiguration.build(SwaggerBundleConfiguration.java:287)! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:66)! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:33)! at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)! at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)! at io.dropwizard.cli.Cli.run(Cli.java:74)! at io.dropwizard.Application.run(Application.java:89)! at com.test.server.ServerApplication.main(ServerApplication.java:84)WARN [2018-01-11 16:29:21,177] org.reflections.Reflections: could not get type for name org.springframework.beans.factory.FactoryBean from any class loader! java.lang.ClassNotFoundException: org.springframework.beans.factory.FactoryBean! at java.net.URLClassLoader.findClass(URLClassLoader.java:381)! at java.lang.ClassLoader.loadClass(ClassLoader.java:424)! at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)! at java.lang.ClassLoader.loadClass(ClassLoader.java:357)! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:388)! ... 14 common frames omitted! Causing: org.reflections.ReflectionsException: could not get type for name org.springframework.beans.factory.FactoryBean! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390)! at org.reflections.Reflections.expandSuperTypes(Reflections.java:381)! at org.reflections.Reflections.<init>(Reflections.java:126)! at io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:276)! at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:240)! at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:221)! at io.federecio.dropwizard.swagger.SwaggerBundleConfiguration.build(SwaggerBundleConfiguration.java:287)! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:66)! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:33)! at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)! at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)! at io.dropwizard.cli.Cli.run(Cli.java:74)! at io.dropwizard.Application.run(Application.java:89)! at com.test.server.ServerApplication.main(ServerApplication.java:84)WARN [2018-01-11 16:29:21,178] org.reflections.Reflections: could not get type for name org.apache.tools.ant.taskdefs.MatchingTask from any class loader! java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.MatchingTask! at java.net.URLClassLoader.findClass(URLClassLoader.java:381)! at java.lang.ClassLoader.loadClass(ClassLoader.java:424)! at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)! at java.lang.ClassLoader.loadClass(ClassLoader.java:357)! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:388)! ... 14 common frames omitted! Causing: org.reflections.ReflectionsException: could not get type for name org.apache.tools.ant.taskdefs.MatchingTask! at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390)! at org.reflections.Reflections.expandSuperTypes(Reflections.java:381)! at org.reflections.Reflections.<init>(Reflections.java:126)! at io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:276)! at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:240)! at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:221)! at io.federecio.dropwizard.swagger.SwaggerBundleConfiguration.build(SwaggerBundleConfiguration.java:287)! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:66)! at io.federecio.dropwizard.swagger.SwaggerBundle.run(SwaggerBundle.java:33)! at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)! at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)! at io.dropwizard.cli.Cli.run(Cli.java:74)! at io.dropwizard.Application.run(Application.java:89)! at com.test.server.ServerApplication.main(ServerApplication.java:84)WARN [2018-01-11 16:29:21,179] org.reflections.Reflections: could not get type for name lombok.patcher.PatchScript from any class loader| bruce.a....@gmail.com, Did the fix with dependency downgrading helped for you? |
<dependency> <groupId>org.reflections</groupId> <artifactId>reflections</artifactId> <version>0.9.10</version
>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.smoketurner</groupId>
<artifactId>dropwizard-swagger</artifactId>
<version>1.1.2-1</version>
<exclusions>
<exclusion>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
</exclusion>
</exclusions>
</dependency>