Repository: quarkusio/quarkus
Issue: Quarkus crashing with dev-mode with Qute (on a specific situation)

### Describe the bug

```
java.lang.ClassNotFoundException: io.quarkus.qute.runtime.extensions.NumberTemplateExtensions_Extension_ValueResolver_mod_bd066910099671b808afec3771a44518fddd2bc9
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:516)
	at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:466)
	at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:516)
	at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:466)
	at io.quarkus.qute.runtime.EngineProducer.createResolver(EngineProducer.java:314)
	at io.quarkus.qute.runtime.EngineProducer.<init>(EngineProducer.java:185)
	at io.quarkus.qute.runtime.EngineProducer_Bean.doCreate(Unknown Source)
	at io.quarkus.qute.runtime.EngineProducer_Bean.create(Unknown Source)
	at io.quarkus.qute.runtime.EngineProducer_Bean.create(Unknown Source)
	at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:113)
	at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:37)
	at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:34)
	at io.quarkus.arc.impl.LazyValue.get(LazyValue.java:26)
	at io.quarkus.arc.impl.ComputingCache.computeIfAbsent(ComputingCache.java:69)
	at io.quarkus.arc.impl.AbstractSharedContext.get(AbstractSharedContext.java:34)
	at io.quarkus.qute.runtime.EngineProducer_Bean.get(Unknown Source)
	at io.quarkus.qute.runtime.EngineProducer_Bean.get(Unknown Source)
	at io.quarkus.arc.impl.ArcContainerImpl.beanInstanceHandle(ArcContainerImpl.java:499)
	at io.quarkus.arc.impl.ArcContainerImpl.beanInstanceHandle(ArcContainerImpl.java:479)
	at io.quarkus.arc.impl.ArcContainerImpl.beanInstanceHandle(ArcContainerImpl.java:512)
	at io.quarkus.arc.impl.ArcContainerImpl.instance(ArcContainerImpl.java:295)
```

This happens on this project 

### Expected behavior

_No response_

### Actual behavior

_No response_

### How to Reproduce?

https://github.com/ia3andy/quarkus-blast

1. change a typesafe variable to something that doesn't exists (i.e: `game -> something` in index.html)
2. start devmode 
3. fix problem and reload browser
4. boom

### Output of `uname -a` or `ver`

_No response_

### Output of `java -version`

_No response_

### GraalVM version (if different from Java)

_No response_

### Quarkus version or git rev

3.1.0.Final

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

_No response_

### Additional information

_No response_

Changed files:
extensions/qute/deployment/src/main/java/io/quarkus/qute/deployment/QuteProcessor.java

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 e362d555376..11047be4925 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<GeneratedClassBuild
             List<PanacheEntityClassesBuildItem> panacheEntityClasses,
             List<TemplateDataBuildItem> templateData,
             List<TemplateGlobalBuildItem> templateGlobals,
+            List<IncorrectExpressionBuildItem> incorrectExpressions,
             LiveReloadBuildItem liveReloadBuildItem,
             CompletedApplicationClassPredicateBuildItem applicationClassPredicate,
             BuildProducer<GeneratedValueResolverBuildItem> generatedResolvers,
             BuildProducer<ReflectiveClassBuildItem> reflectiveClass,
             BuildProducer<GeneratedTemplateInitializerBuildItem> generatedInitializers) {
 
+        if (!incorrectExpressions.isEmpty()) {
+            // Skip generation if a validation error occurs
+            return;
+        }
+
         IndexView index = beanArchiveIndex.getIndex();
         ClassOutput classOutput = new GeneratedClassGizmoAdaptor(generatedClasses, new Function<String, String>() {
             @Override