Update README.md

Add a note on dependencies with Java 11+
This commit is contained in:
Raphael 2020-11-09 12:13:28 +01:00 committed by GitHub
parent 113f1c7926
commit 06c89f40a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,6 +83,10 @@ Result validationResult = validator.checkInput(document);
The [API documentation](./docs/api.md) shows further configuration options. The [API documentation](./docs/api.md) shows further configuration options.
**Note:** With Java 11+, you need to include a dependency to `org.glassfish.jaxb:jaxb-runtime` in your project explicitly,
as that dependency is marked `optional` in this project and
will thus not be resolved transitively.
### Daemon-Mode ### Daemon-Mode
You can also start the validator as a HTTP-Server. Just start it in _Daemon-Mode_ with the `-D` option. You can also start the validator as a HTTP-Server. Just start it in _Daemon-Mode_ with the `-D` option.