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

Library does not work correctly in TomEE WebApps #221

Open
sidohin-felix opened this issue Sep 25, 2023 · 0 comments
Open

Library does not work correctly in TomEE WebApps #221

sidohin-felix opened this issue Sep 25, 2023 · 0 comments

Comments

@sidohin-felix
Copy link

Because TomEE provides a set of libraries on its own class path, and certain applications may do the same there needs to be an exclusion, the following defects have been found:

  • The javax namespace has been deprecated, now it is jakarta and this is reflected in version 4.0.3 of the CXF dependency
  • The http-components need to be declared inside gradle via:
    configurations { all*.exclude module: 'httpcore' all*.exclude module: 'httpcore-nio' }

otherwise, the container starts spewing errors about the same class being loaded by two different class loaders.

Whereas (2) is more of a problem specific to containers, it should be documented somehow if someone is trying to use this in an enterprise app where dependencies are provided.

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

1 participant