fix(deps): update resource server to v1.5.2 - autoclosed#2537
Closed
renovate[bot] wants to merge 1 commit into
Closed
fix(deps): update resource server to v1.5.2 - autoclosed#2537renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
e831360 to
cae44d3
Compare
cae44d3 to
01a6bc6
Compare
01a6bc6 to
0e47964
Compare
0e47964 to
8de2f6a
Compare
8de2f6a to
a41eb6c
Compare
a41eb6c to
9dacb36
Compare
9dacb36 to
9e99713
Compare
9e99713 to
2125ea1
Compare
2125ea1 to
1bfd72d
Compare
1bfd72d to
5034562
Compare
5034562 to
650d11e
Compare
4bba8ba to
e3680f2
Compare
426261f to
d612aaa
Compare
d612aaa to
0ba0984
Compare
0ba0984 to
72953b5
Compare
72953b5 to
0810f14
Compare
0810f14 to
7c7dc76
Compare
7c7dc76 to
3cfaeb2
Compare
3cfaeb2 to
38cdd1c
Compare
38cdd1c to
11514f9
Compare
11514f9 to
c659d55
Compare
c659d55 to
2aa1e62
Compare
2aa1e62 to
915f8f7
Compare
915f8f7 to
62f40c8
Compare
62f40c8 to
c52a2b7
Compare
c52a2b7 to
d6add80
Compare
d6add80 to
59c9eaa
Compare
Naenyn
pushed a commit
that referenced
this pull request
Apr 22, 2026
uPortal pins springVersion=4.3.30.RELEASE explicitly, but resource-server 1.5.x transitively depends on Spring 5.x. Without an exclusion, a build bumping resource-server to 1.5.x ends up with both Spring versions on the classpath and javac resolves org.springframework.web.util.UriUtils against the Spring 5 API — where encodePathSegment(String, String) no longer declares 'throws UnsupportedEncodingException'. The catch clause in uPortal-utils-core's Util.encodePathSegment() then becomes unreachable and compilation fails with: Util.java:143: error: exception UnsupportedEncodingException is never thrown in body of corresponding try statement This is exactly the CI failure on #2537 (Renovate's resource-server 1.3.1 → 1.5.2 bump), and the fix originates from @Naenyn's #2915 where this exclusion is part of a larger 193-file PR. Landing it independently on master unblocks #2537 and any other branch bumping resource-server, without coupling to the Bootstrap/jQuery work in #2915. Exclusion policy mirrors what #2915 applies: - resource-server-api: exclude spring-jcl (module-level) and all slf4j - resource-server-utils: exclude all of org.springframework and all slf4j The narrower exclusion on resource-server-api reflects that it's a smaller artifact; the broader exclusion on resource-server-utils prevents the full Spring 5 web stack from riding along. Verified locally: - master + this change (resourceServerVersion=1.3.1): :uPortal-utils:uPortal-utils-core:compileJava BUILD SUCCESSFUL - master + this change + resourceServerVersion=1.5.2 (simulated): :uPortal-utils:uPortal-utils-core:compileJava BUILD SUCCESSFUL (the Util.java error goes away) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
59c9eaa to
59c6a54
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.1→1.5.21.3.1→1.5.21.3.1→1.5.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.