-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Description
I am receiving the following error on my application after picking up version 7.0.0 of org.springframework.spring-context
{"ts":"2025-11-14T13:05:14.445+0000","class":"org.springframework.boot.SpringApplication","level":"ERROR","evt":{"msg":"Application run failed"},"thread":"main","exception":{"class":"java.lang.NoClassDefFoundError","message":"org/springframework/ui/context/ThemeSource","stacktrace":"java.lang.NoClassDefFoundError: org/springframework/ui/context/ThemeSource\n\tat
Looks like ThemeSource and Theme classes no longer exists in 7.0.0
[ 6.2.13]# jar -tvf spring-context-6.2.13.jar|grep Theme
409 Thu Nov 13 08:45:02 GMT 2025 org/springframework/ui/context/ThemeSource.class
341 Thu Nov 13 08:45:02 GMT 2025 org/springframework/ui/context/Theme.class
5618 Thu Nov 13 08:45:02 GMT 2025 org/springframework/ui/context/support/ResourceBundleThemeSource.class
1156 Thu Nov 13 08:45:02 GMT 2025 org/springframework/ui/context/support/SimpleTheme.class
1345 Thu Nov 13 08:45:02 GMT 2025 org/springframework/ui/context/support/DelegatingThemeSource.class
611 Thu Nov 13 08:45:02 GMT 2025 org/springframework/ui/context/HierarchicalThemeSource.class
[ 7.0.0]# jar -tvf spring-context-7.0.0.jar|grep Theme