Application fails to deploy with WFLYCTL0412 / WFLYCTL0180 jboss.naming.context.java.jboss.datasources... in JBoss EAP 7

Solution Unverified - Updated -

Issue

We are trying to deploy a JPA application using the Web Console and it is failing and displaying this error in the console:

Cannot upload deployment: {"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.datasources.Hibernate5QuickstartDS"],
 "WFLYCTL0180: Services with missing/unavailable dependencies" =>
 ["jboss.persistenceunit.\"hibernate5.war#primary\".__FIRST_PHASE__ is missing [jboss.naming.context.java.jboss.datasources.Hibernate5QuickstartDS]",
 "jboss.persistenceunit.\"hibernate5.war#primary\" is missing [jboss.naming.context.java.jboss.datasources.Hibernate5QuickstartDS]"]}

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content