diff --git a/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/QuteProcessor.java b/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/QuteProcessor.java index e362d555376dd..11047be4925f0 100644 --- a/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/QuteProcessor.java +++ b/extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/QuteProcessor.java @@ -1711,12 +1711,18 @@ void generateValueResolvers(QuteConfig config, BuildProducer panacheEntityClasses, List templateData, List templateGlobals, + List incorrectExpressions, LiveReloadBuildItem liveReloadBuildItem, CompletedApplicationClassPredicateBuildItem applicationClassPredicate, BuildProducer generatedResolvers, BuildProducer reflectiveClass, BuildProducer generatedInitializers) { + if (!incorrectExpressions.isEmpty()) { + // Skip generation if a validation error occurs + return; + } + IndexView index = beanArchiveIndex.getIndex(); ClassOutput classOutput = new GeneratedClassGizmoAdaptor(generatedClasses, new Function() { @Override