casper-network / casper-network/casper-java-sdk
Library does not work correctly in TomEE WebApps
- Dominant language
- Java
- Stars
- 10
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.