Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nosql-dev] WildFly CDI fails to @Inject Repository (1.0.0-SNAPSHOT & 1.0.0-b5)

Hi Otavio,

I wonder that it doesn't work in b5 as I already used jakarta.* In b4 and WildFly 26.1.x-preview.
Anyway if the release is on horizon I may put on-hold the development for some weeks.

Best wishes with a great forthcoming release!

Dmitry

On 2/23/2023 4:35 PM, Otavio Santana wrote:
Hello Dmitry, how are you?

Currently, Eclipse JNoSQL has support for Jakarta before the Big Bang.
The next version will support it; we're targeting to release on March.

On Thu, Feb 23, 2023 at 3:26 PM Dmitry Repchevsky via nosql-dev <nosql-dev@xxxxxxxxxxx> wrote:
Hello,

After upgrading from 1.0.0-b4 to 1.0.0-b5 (also tried 1.0.0-SNAPSHOT) My
Wildfly deployment fails (WF 26.1.3 preview & WF 27.0.1).

> Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408:
> Unsatisfied dependencies for type TestRepository with qualifiers @Default
>   at injection point [BackedAnnotatedField] @Inject @Database private
> org.eclipse.jnosql.test.TestService.test_repository
>   at
> org.eclipse.jnosql.test.TestService.test_repository(TestService.java:0)

It looks like WildFly is not scanning jnosql CDI beans, although I put
my beans.xml in the /WEB-INF directory and tried all CDI versions there
(1,2,3,4).

Are there any ideas what is wrong?

Thank you,

Dmitry


_______________________________________________
nosql-dev mailing list
nosql-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/nosql-dev


--
Otávio Santana

Back to the top