spring-projects / spring-projects/spring-modulith
Improve reporting of incorrect `@ApplicationModuleTest` declarations
Open
@odrotbohm is already working on this.
Since Jun 17, 2025.
in: core
in: test support
type: improvement
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
after the upate to Spring-Modulith 1.4 i am facing an error on the module verification test. The test throws an NoSuchBeanDefinitionException for a configuration bean inside a core module that is explicitly defined as open. Version 1.3.5 seems to work.
I created an example project to reproduce the error:
https://github.com/chhorz/modulith-1.4-error
Best regards
Christian
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.