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

Load "jakarta.annotation.*" classes from common classloader #469

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

ppkarwasz
Copy link
Contributor

@ppkarwasz ppkarwasz commented Jan 28, 2022

Some users mistakenly add jakarta.annotation-api to their applications, which prevents Tomcat from finding @Resource and similar annotations on the servlets. See this Stack Overflow question for example.

To prevent this "jakarta.annotation" should also be always loaded from the common classloader.

Some users from mistakenly add `jakarta.annotation-api` to their
applications, which prevents Tomcat from finding @resource and similar
annotations on the servlets.

To prevent this "jakarta.annotation" should also be always loaded from
the common classloader.
@ppkarwasz ppkarwasz changed the title Adds "jakarta.annotation" to filter Load "jakarta.annotation.*" classes from common classloader Jan 28, 2022
@markt-asf markt-asf merged commit 4a32a6d into apache:main Feb 7, 2022
@ppkarwasz ppkarwasz deleted the jakarta-annotation branch February 7, 2022 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants