Skip to content

Conversation

@shaykeren
Copy link

This PR fixes the static resource loading issue in the spring-petclinic service by updating the WebJar paths to follow the npm-based WebJar format.

Changes made:

  1. Updated Bootstrap JS path from /webjars/bootstrap/5.2.3/dist/js/bootstrap.bundle.min.js to /webjars/bootstrap/dist/js/bootstrap.bundle.min.js
  2. Updated Font Awesome CSS path from /webjars/font-awesome/4.7.0/css/font-awesome.min.css to /webjars/font-awesome/css/font-awesome.min.css

This fixes the NoResourceFoundException error (ID: 1251351a-4449-11f0-90fe-0242ac160004) by removing version numbers from WebJar paths, which is the correct format for npm-based WebJars.

Testing:

  • Verified that the static resources load correctly
  • Confirmed that the main page renders properly with all required CSS and JS files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants