Hi,

i always tested with OWB and this is CDI 2.0 with jakarta namespace.
We need to make sure that this methods are not used anymore:
https://github.com/jakartaee/cdi/pull/473
After this, it should work fine on CDI 4.0 or later.

Best regards,
Thomas



Am Mi., 15. Juni 2022 um 20:49 Uhr schrieb Volodymyr Siedlecki <
volos...@apache.org>:

> Can someone check my work, because it looks I discovered a problem in this
> release.  I tried running a JSF-CDI Application on Tomcat 10.1.0, but
> encountered the following exception:
>
>         Caused by: java.lang.NoSuchMethodError:
> 'jakarta.enterprise.inject.spi.InjectionTarget
> jakarta.enterprise.inject.spi.BeanManager.createInjectionTarget(jakarta.enterprise.inject.spi.AnnotatedType)'
>                 at
> org.apache.myfaces.cdi.CDIInjectionProviderImpl.inject(CDIInjectionProviderImpl.java:48)
>                 at
> org.apache.myfaces.spi.impl.CDIAnnotationDelegateInjectionProvider.inject(CDIAnnotationDelegateInjectionProvider.java:49)
>                 ... 55 more
>
> Problematic Line:
> https://github.com/apache/myfaces/blob/myfaces-core-module-4.0.0-RC1/impl/src/main/java/org/apache/myfaces/cdi/CDIInjectionProviderImpl.java#L48
>
> The exception occurs with org.jboss.weld.servlet : weld-servlet-shaded :
> version 5.0.0.
>
> I found that BeanManager#createInjectionTarget was removed from CDI API
> 4.0.0:
>
>
> https://github.com/jakartaee/cdi/commit/efba672d65d41f87b3cb2fb2b3e00778cdaccc31
>
> Am I looking at this correctly? Can one verify this? Additionally, what
> CDI dependency are using in our poms?
>
> Thanks,
>
> Volodymyr
>
> On 2022/06/10 19:25:03 Volodymyr Siedlecki wrote:
> > Hi,
> >
> > I was running the needed tasks to get the 4.0.0-RC1 release of Apache
> > MyFaces core out.
> >
> > Please note that this vote concerns all of the following parts:
> >    1. Maven artifact group "org.apache.myfaces.core" v4.0.0-RC1  [1]
> >
> > The artifacts were deployed on nexus repo [1] for binary and source
> > packages.
> >
> > The release notes could be found at [4]. Out of all the issues for
> > 4.0.0-RC1, I believe the two below may have work left and can be fixed in
> > 4.0.0-RC2. Please see the comments (or move them back to 4.0.0-RC1 target
> > if you disagree).
> >
> > https://issues.apache.org/jira/browse/MYFACES-4385
> >
> > https://issues.apache.org/jira/browse/MYFACES-4387
> >
> > The japicmp tool shows numerous binary incompatibilities with 4.0.0-RC1
> and
> > the jakarta.faces-api-4.0.0.jar. Please take a look at the attached
> > 4.0.0-results.html.
> >
> > Once we get the TCK and the signature tests to run, we can identify
> changes
> > which should be addressed.
> >
> > Please take a look at the "4.0.0-RC1" artifacts and vote! (see [3])
> >
> > Please note: This vote is "majority approval" with a minimum of three +1
> > votes (see [2]).
> >
> > ------------------------------------------------
> > [ ] +1 for community members who have reviewed the bits
> > [ ] +0
> > [ ] -1 for fatal flaws that should cause these bits not to be released,
> and
> > why.
> > ------------------------------------------------
> >
> > Thanks,
> >
> > Volodymyr
> >
> > [1]
> >
> https://repository.apache.org/content/repositories/orgapachemyfaces-1204/org/apache/myfaces/core/
> > [2] http://www.apache.org/foundation/voting.html#ReleaseVotes
> > [3]
> >
> https://repository.apache.org/content/repositories/orgapachemyfaces-1204/org/apache/myfaces/core/myfaces-core-assembly/
> > [4]
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10600&version=12349323
> >
>

Reply via email to