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

fixes to make spring boot application run on DevAppServer #80

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

lachlan-roberts
Copy link
Collaborator

No description provided.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
for (URL url : toAdd)
{
if (libs.contains(url))
continue;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@janbartel i either need this fix or the one from jetty/jetty.project#10902 to get this working.

The ContainerIncludeJarPattern is matching the duplicate jars from the libs array which adds them as container resource and this is causing problems.

Thoughts?

Choose a reason for hiding this comment

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

@lachlan-roberts seems to me that DevAppServerClassLoader shouldn't be adding duplicate jars, so stopping it at the source is the best way. Any change to jetty is a backup to that. Of course, doesn't stop the same jar being present in 2 different locations and thus added twice.

@ludoch ludoch self-assigned this Nov 17, 2023
@ludoch ludoch marked this pull request as ready for review November 17, 2023 15:45
@copybara-service copybara-service bot merged commit 02239c3 into main Nov 17, 2023
7 checks passed
@lachlan-roberts lachlan-roberts deleted the spring-boot-fixes branch January 24, 2024 12:31
@lachlan-roberts lachlan-roberts linked an issue Jan 24, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SpringBoot 3.2 M3 and Jetty12 EE10 GAE as a war app.
3 participants
  翻译: