Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sindhura-Y opened this issue Oct 31, 2018 · 1 comment

Comments

@Sindhura-Y
Copy link

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.

@kyeah
Copy link
Contributor

kyeah commented Nov 1, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants