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

org.glassfish.jersey.message.internal.MessagingBinders$EnabledProvidersBinder.bindToBinder A class javax.activation.DataSource for a default provider MessageBodyWriter<javax.activation.DataSource> was not found. The provider is not available. #5480

Closed
minfrin opened this issue Nov 28, 2023 · 1 comment

Comments

@minfrin
Copy link

minfrin commented Nov 28, 2023

When jersey v2.41 is started up, the following is logged:

28-Nov-2023 15:23:29.662 WARNING [main] org.glassfish.jersey.message.internal.MessagingBinders$EnabledProvidersBinder.bindToBinder A class javax.activation.DataSource for a default provider MessageBodyWriter<javax.activation.DataSource> was not found. The provider is not available.

The javax.activation.DataSource appears to be part of obsolete javax.activation API, but this dependency does not come through transitively.

@jansupol
Copy link
Contributor

That is a warning for the customers.

The warning says that in case you are using javax.activation.DataSource and you did not put javax.activation or jakarta.activation (1.x) on classpath on JDK 11+, it won't work for you.

The warning can be turned off by PROVIDER_DEFAULT_DISABLE property.

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

2 participants