Skip to content

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

Development

Successfully merging this pull request may close these issues.

2 participants