Add project-structure module: the same Boot 4.1 app laid out package-by-layer and package-by-feature, with the public surface counted and the javac boundary captured
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HhW8LD8r3EigoBaCGrQZx5 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01HhW8LD8r3EigoBaCGrQZx5
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# The controller is found only if it is in or below the @SpringBootApplication class's package
|
||||
|
||||
|
||||
--- app class in scan.broken.app, controller in scan.broken.web (a sibling) ---
|
||||
GET /hello -> 404
|
||||
HelloController registered as a bean: false
|
||||
|
||||
--- app class in scan.fixed, controller in scan.fixed.web (below it) ---
|
||||
GET /hello -> 200
|
||||
HelloController registered as a bean: true
|
||||
Reference in New Issue
Block a user