We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5f090 commit ec7022cCopy full SHA for ec7022c
spring-modulith-core/src/main/java/org/springframework/modulith/core/Types.java
@@ -128,7 +128,7 @@ public static Collection<ArchRule> getRules() {
128
var classLoader = JMoleculesTypes.class.getClassLoader();
129
RULES = new ArrayList<ArchRule>();
130
131
- if (ClassUtils.isPresent(DDD_RULES, classLoader)) {
+ if (ClassUtils.isPresent(DDD_RULES, classLoader) && ClassUtils.isPresent(AT_ENTITY, classLoader)) {
132
RULES.add(JMoleculesDddRules.all());
133
}
134
0 commit comments