mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
1fef0e1f9b
The PackageBasedActionConfigBuilder now catches NoClassDefFoundError in addition to ClassNotFoundException when scanning for action classes. This prevents application startup failures when classes have missing optional dependencies (e.g., test classes depending on JUnit). Changes: - Add NoClassDefFoundError to catch block in getActionClassTest() - Improve error message to suggest missing dependencies - Add unit tests for both exception types 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>