forked from digma-ai/otel-sample-app-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Issue: Bootstrap resources served through Webjars are returning 404 Not Found errors.
Root Cause:
The application is missing proper WebMVC configuration for handling Webjars resources. This prevents Spring from correctly serving static resources from the Webjars dependencies.
Solution:
- Added WebMvcConfigurer implementation to properly handle Webjars resources
- Configured resource chain optimization for better performance
- Ensured proper classpath resource locations for Webjars
Related PR: #73
Additional Monitoring:
To prevent similar issues in the future, we should:
- Add monitoring for static resource loading
- Set up alerts for 404 errors on static resources
- Consider implementing health checks for critical UI dependencies
Metadata
Metadata
Assignees
Labels
No labels