I am trying to create a Jakarta, JAX-RS and wildfly enviroment. I can startup a deployment and access the wildfly homepage. But when i want to access my resources (e.g. @Path("/health")). I receive a FORBIDDEN error:

When I looked at the management console I saw that there is no JAX_RS deployedL

I am utterly lost at what to do. Can somebody help
I have tried adding management and application users, creating a web.xml, creating a extension of Application, creating a CORS filter, updating my pom.xml file