Skip to content

Commit

Permalink
fix default resourceloader for spring context
Browse files Browse the repository at this point in the history
  • Loading branch information
HomeOfTheWizard committed Jul 13, 2024
1 parent 1876640 commit cb56226
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AnnotationBasedConfigurableSpringModule extends SpringModule {
public AnnotationBasedConfigurableSpringModule()
throws ClassNotFoundException {
super(new SpringApplicationBuilder()
.resourceLoader(new DefaultResourceLoader())
.resourceLoader(new DefaultResourceLoader(classLoader))
.sources(loadSpringConfigClass())
.properties(loadApplicationProperties())
.run());
Expand Down

0 comments on commit cb56226

Please sign in to comment.