Skip to content

Fix NoClassDefFound errors for ratpack#301

Merged
tylerbenson merged 1 commit into
DataDog:masterfrom
jonmort:ratpack-instrumentation-exceptions
Apr 30, 2018
Merged

Fix NoClassDefFound errors for ratpack#301
tylerbenson merged 1 commit into
DataDog:masterfrom
jonmort:ratpack-instrumentation-exceptions

Conversation

@jonmort
Copy link
Copy Markdown
Contributor

@jonmort jonmort commented Apr 30, 2018

This PR fixes #300 removing Google Collections runtime and adding all the necessary HelperInjector classes.

I have verified that this works in a real world Ratpack application (not just those in the integration tests)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be on the bootstrap classpath. Are you sure they’re needed here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I've reduced this to the smallest number of classes needed.

@jonmort jonmort force-pushed the ratpack-instrumentation-exceptions branch from b0b6549 to c1a7f58 Compare April 30, 2018 14:24
@tylerbenson tylerbenson added this to the 0.8.0 milestone Apr 30, 2018
@tylerbenson tylerbenson merged commit 21e26d9 into DataDog:master Apr 30, 2018
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

Successfully merging this pull request may close these issues.

Ratpack Instrumentation fails with NoClassDefFoundError

2 participants