spring-projects / spring-projects/spring-modulith

Improve reporting of incorrect `@ApplicationModuleTest` declarations

Open
#1,246 3 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.