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

jersey-2031 #4453

Merged
merged 1 commit into from
May 11, 2020
Merged

jersey-2031 #4453

merged 1 commit into from
May 11, 2020

Conversation

jbescos
Copy link
Member

@jbescos jbescos commented Apr 28, 2020

Enabled this module for testing.

The problem is that JDK11 doesn't work with Jetty 6, so we use now Jetty 9.

This brings another problem, for some reason the tld of jersey-mvc-jsp is not loaded. Not sure why, in theory Jetty scans the jar files by regular expression. I tried to add a new regular expression to find jersey-mvc-jsp-2.31-SNAPSHOT.jar but it didn't work:
https://wiki.eclipse.org/Jetty/Howto/Configure_JSP#Using_JSTL_Taglibs_for_Jetty_7.x_and_8.x

Finally I did an ugly solution that works, which is copying the tld in the application. And to make the things more ugly, it doesn't work when you copy the tld in ${project.build.directory}/${project.build.finalName}/WEB-INF. Doing that it includes the TLD in the war file but it is not loaded for some reason.

It needs to be added in src/main/webapp/WEB-INF/ and then removed. It seems Jetty is using as resource folder src/main/webapp

Signed-off-by: Jorge Bescos Gascon <[email protected]>
Copy link
Contributor

@jansupol jansupol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@senivam senivam merged commit d500d53 into eclipse-ee4j:master May 11, 2020
@senivam senivam modified the milestones: 2.30.1, 2.31 May 11, 2020
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.

None yet

3 participants