Skip to content

Instantly share code, notes, and snippets.

@gaol
Created September 23, 2024 07:43
Show Gist options
  • Save gaol/9da22df870d8417acc52f85e7730c2e9 to your computer and use it in GitHub Desktop.
Save gaol/9da22df870d8417acc52f85e7730c2e9 to your computer and use it in GitHub Desktop.
11:56:09,312 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "vertx-demos-kafka-web-0.0.1.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"vertx-demos-kafka-web-0.0.1.war\".WeldStartService" => "Failed to start service
Caused by: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
Exception 0 :
org.jboss.weld.resources.spi.ResourceLoadingException: Error while loading class io.vertx.mutiny.core.Vertx
at [email protected]//org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:193)
at [email protected]//org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:201)
at [email protected]//org.jboss.weld.manager.BeanManagerImpl.createAnnotatedType(BeanManagerImpl.java:1176)
at [email protected]//org.jboss.weld.util.ForwardingBeanManager.createAnnotatedType(ForwardingBeanManager.java:200)
at [email protected]//org.wildfly.extension.vertx.processors.CDIExtension.registerVertxBean(CDIExtension.java:61)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at [email protected]//org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:100)
at [email protected]//org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:199)
at [email protected]//org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:350)
at [email protected]//org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:136)
at [email protected]//org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:328)
at [email protected]//org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:298)
at [email protected]//jakarta.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:140)
at [email protected]//org.jboss.weld.util.Observers.notify(Observers.java:174)
at [email protected]//org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:307)
at [email protected]//org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:293)
at [email protected]//org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:185)
at [email protected]//org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:179)
at [email protected]//org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
at [email protected]//org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:45)
at [email protected]//org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:75)
at [email protected]//org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:462)
at [email protected]//org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:87)
at [email protected]//org.jboss.as.weld.WeldStartService.start(WeldStartService.java:80)
at [email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1617)
at [email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1580)
at [email protected]//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438)
at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.NoClassDefFoundError: io/netty/channel/EventLoopGroup
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3402)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2504)
at [email protected]//org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedMethods.computeValue(BackedAnnotatedType.java:203)
at [email protected]//org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedMethods.computeValue(BackedAnnotatedType.java:197)
at [email protected]//org.jboss.weld.util.LazyValueHolder.get(LazyValueHolder.java:46)
at [email protected]//org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$EagerlyInitializedLazyValueHolder.<init>(BackedAnnotatedType.java:165)
at [email protected]//org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedMethods.<init>(BackedAnnotatedType.java:197)
at [email protected]//org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedMethods.<init>(BackedAnnotatedType.java:197)
at [email protected]//org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.<init>(BackedAnnotatedType.java:72)
at [email protected]//org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.of(BackedAnnotatedType.java:52)
at [email protected]//org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.apply(ClassTransformer.java:84)
at [email protected]//org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.apply(ClassTransformer.java:79)
at [email protected]//org.jboss.weld.util.cache.ReentrantMapBackedComputingCache.lambda$new$0(ReentrantMapBackedComputingCache.java:57)
at [email protected]//org.jboss.weld.util.WeakLazyValueHolder$1.computeValue(WeakLazyValueHolder.java:35)
at [email protected]//org.jboss.weld.util.WeakLazyValueHolder.get(WeakLazyValueHolder.java:53)
at [email protected]//org.jboss.weld.util.cache.ReentrantMapBackedComputingCache.getValue(ReentrantMapBackedComputingCache.java:74)
at [email protected]//org.jboss.weld.util.cache.ReentrantMapBackedComputingCache.getCastValue(ReentrantMapBackedComputingCache.java:80)
at [email protected]//org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:184)
... 34 more
Caused by: java.lang.ClassNotFoundException: io.netty.channel.EventLoopGroup from [Module \"io.smallrye.reactive.mutiny.vertx-core\" version 3.13.0 from local module loader @1b1cfb87 (finder: local module finder @821330f (roots: /home/lgao/sources/wildfly/wildfly/preview/build/target/wildfly-preview-34.0.0.Beta1-SNAPSHOT/modules,/home/lgao/sources/wildfly/wildfly/preview/build/target/wildfly-preview-34.0.0.Beta1-SNAPSHOT/modules/system/layers/base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:200)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:408)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:396)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:115)
... 53 more
"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment