dropwizard-influxdb-reporter icon indicating copy to clipboard operation
dropwizard-influxdb-reporter copied to clipboard

Error getting reflective information for class org.eclipse.jetty.server.handler.IdleTimeoutHandler$1

Open Sindhura-Y opened this issue 6 years ago • 1 comments

Right after i add the dependency in the pom.xml and try to deploy on wildfly, i get this error

"Error getting reflective information for class org.eclipse.jetty.server.handler.IdleTimeoutHandler$1 with ClassLoader ModuleClassLoader for Module "deployment.test.war:main" from Service Module Loader"

Should i be manually adding any other dependencies? Tried adding this dependency

**<!-- https://mvnrepository.com/artifact/org.eclipse.jetty.server/source -->
<dependency>
  <groupId>org.eclipse.jetty.server</groupId>
  <artifactId>source</artifactId>
  <version>8.1.3</version>
</dependency>**

but maven couldn't find any such dependency.

Sindhura-Y avatar Oct 31 '18 14:10 Sindhura-Y

Hi! That particular dependency should be included with dropwizard. Can you confirm your build settings for the war file?

I don't know much about wildfly, but I'm taking a look at this stackoverflow thread which suggests that this error can come from not using Java 1.8.

The class loading documentation also seems to suggest manual steps needed to expose dependencies in the wildfly environment.

kyeah avatar Nov 01 '18 16:11 kyeah