Hi,
I'm trying to run the
Hibernate quickstart. But when I try to build and deploy I get the following error:
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:5.0.0.Beta3:deploy (default-cli) on project hibernate: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"hibernate.war\".WeldStartService" => "Failed to start service
[ERROR] Caused by: java.lang.IllegalArgumentException: WFLYWELD0037: Error injecting persistence unit into Jakarta Contexts and Dependency Injection managed bean. Can't find a persistence unit named '' in deploy hibernate.war for injection point private jakarta.persistence.EntityManager org.jboss.as.quickstart.hibernate.util.Resources.em"}}}}
Does anyone know what can be due?
Thanks in advance