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

SeBootstrap: How to turn off provider warnings? #5867

Open
mkarg opened this issue Feb 14, 2025 · 0 comments
Open

SeBootstrap: How to turn off provider warnings? #5867

mkarg opened this issue Feb 14, 2025 · 0 comments

Comments

@mkarg
Copy link
Member

mkarg commented Feb 14, 2025

I like to get rid of these messages without adding JAXB and Activation on the class-path:

[2025-02-14 13:00:45.434] [WARNING] A class jakarta.activation.DataSource for a default provider MessageBodyWriter<jakarta.activation.DataSource> was not found. The provider is not available.
[2025-02-14 13:00:45.508] [WARNING] JAX-B API not found . WADL feature is disabled.

What I did is:

var config = SeBootstrap.Configuration.builder()
    .port(ipPort)
    .property("jersey.config.disableDefaultProvider", "ALL")
    .property("jersey.config.server.wadl.disableWadl", "true")
    .build();
SeBootstrap.start(MyApplication.class, config)

But still the messages do occur. 😞

Did I misunderstand the purpose of these properties? Did I use them wrong? Did I miss and additional property needed? 🤔

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