Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Shivakumar Kamtala

Greenhorn
+ Follow
since Sep 24, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shivakumar Kamtala

not sure if your issue is resolved,


we had a similar issue recently, and its fixed by adding context-path property in application.properties.

1. so, if your applicatiion.properties has a context-path key then antmatchers should start with just path mapping (start with /)
2. if you don't have a context defined in application.properties, but with a RequestMapping in your restconroller, then antmatchers should always include context-path (again, start with /)

i hope this resolves your issue,

Note: there is a change in the context-path spring property with jdk 11

Thanks
Shiva
1 year ago