Migrate NoResourceFoundException constructor for Spring Framework 7.0

Proprietary

Spring Framework 7.0 changed the NoResourceFoundException constructor from (HttpMethod, String resourcePath) to (HttpMethod, String requestUri, String resourcePath). This recipe rewrites the two-argument form to the three-argument form by duplicating the existing resourcePath argument into the new requestUri slot, matching typical test-fixture usage where the two URIs are the same.

io.moderne.java.spring.framework7.MigrateNoResourceFoundExceptionConstructor
mod run . --recipe=io.moderne.java.spring.framework7.MigrateNoResourceFoundExceptionConstructor

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.