deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Porter <lightguard...@gmail.com>
Subject Re: Quarkus + Deltaspike
Date Wed, 15 Apr 2020 19:35:03 GMT
Thomas is correct. This would be a pretty big effort to get DeltaSpike
Quarkus compatible. Is there something you're looking for out of DeltaSpike
in your Quarkus project?

On Wed, Apr 15, 2020 at 12:57 PM Thomas Andraschko <
andraschko.thomas@gmail.com> wrote:

> Hi,
>
> that wont work!
> Quarkus isn't a CDI implementation (it just uses many API parts), so i
> general we would need to re-development party of DS in a Quarkus extension.
> E.g. Quarkus doesn't support the CDI Extensions mechanism, where DS takes a
> heavy use of it.
>
> If you would like to create a such a extensions, i can give you some hints.
> But i think the effort isn't low to port all modules.
>
> Best regards,
> Thomas
>
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virenfrei.
> www.avast.com
> <
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> Am Mi., 15. Apr. 2020 um 20:34 Uhr schrieb Shultz, Dmitry <
> Dmitry_Shultz@kaltire.com>:
>
> > Hi All,
> >
> > I'm trying to use Deltaspike (1.9.3) in the fresh Quarkus project and
> > getting this exception:
> >
> > java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
> > failure: Build failed due to errors
> >                 [error]: Build step
> > io.quarkus.arc.deployment.ArcProcessor#registerBeans threw an exception:
> > java.lang.IllegalStateException: Bean defined via class
> >
> org.apache.deltaspike.jpa.impl.transaction.EnvironmentAwareTransactionStrategy
> > is declared as an @Alternative, but has no @Priority. Either declare a
> > @Priority or leverage @io.quarkus.arc.AlernativePriority annotation.
> >                 at
> > io.quarkus.arc.processor.Beans.createClassBean(Beans.java:125)
> >                 at
> >
> io.quarkus.arc.processor.BeanDeployment.findBeans(BeanDeployment.java:743)
> >                 at
> >
> io.quarkus.arc.processor.BeanDeployment.registerBeans(BeanDeployment.java:206)
> >                 at
> >
> io.quarkus.arc.processor.BeanProcessor.registerBeans(BeanProcessor.java:122)
> >                 at
> >
> io.quarkus.arc.deployment.ArcProcessor.registerBeans(ArcProcessor.java:262)
> >                 at
> > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >                 at
> >
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> >                 at
> >
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >                 at
> > java.base/java.lang.reflect.Method.invoke(Method.java:564)
> >                 at
> > io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:938)
> >                 at
> > io.quarkus.builder.BuildContext.run(BuildContext.java:273)
> >                 at
> >
> org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> >                 at
> >
> org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2027)
> >                 at
> >
> org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1551)
> >                 at
> >
> org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1442)
> >                 at java.base/java.lang.Thread.run(Thread.java:832)
> >                 at
> org.jboss.threads.JBossThread.run(JBossThread.java:479)
> >
> >
> > How to fix?
> >
> > In general, is Deltaspike supposed to be used with Quarkus?
> >
> > Cheers,
> > Dmitry
> >
>


-- 
Jason Porter
http://en.gravatar.com/lightguardjp

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message