forked from digma-ai/forkof-spring-petclinic
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
This issue tracks the WebJar path misconfiguration in the PetClinic service that is causing static resources to fail loading.
Problem:
The application is using npm-based WebJars (org.webjars.npm:bootstrap) but attempting to access resources using classic WebJar path structure.
Error Details:
- Error ID: 1251351a-4449-11f0-90fe-0242ac160004
- Error Type: org.springframework.web.servlet.resource.NoResourceFoundException
- Error Message: No static resource bootstrap/5.2.3/dist/js/bootstrap.bundle.min.js
Solution:
A pull request (#351) has been created that updates the WebJar paths to match the npm structure:
- Changed from
/webjars/bootstrap/5.2.3/dist/js/bootstrap.bundle.min.jsto/webjars/bootstrap/js/bootstrap.bundle.min.js
Testing Required:
- Verify that bootstrap resources load correctly after applying the change
- Check that the frontend styling and JavaScript functionality works as expected
Please review and merge PR #351 to resolve this issue.