4 Replies Latest reply on May 17, 2016 4:36 AM by mayerw01

    Wildfly missing dependencies when trying to deploy after adding a persistence unit. Netbeans

    popescustefanradu

      I configured my datasource from the localhost console and I used the driver that is inside the WAR. Tested it and all worked fine. But when I add a persistence unit I get that error. If I delete the persistence unit the error will still be there. Please help me.


      Persistence.xml, hibernate config, error: [XML] Wildfly services unavailable persistenceunit mysql - Pastebin.com

      Standalone config, I did no changes to this, all the changes were done through the localhost console: [XML] Wildfly standalone config - Pastebin.com

      IDE:  Product Version: NetBeans IDE 8.1 (Build 201510222201)      
      Hibernate: 4.3.X

      Mysql JDBC driver added to proj libraries is what netbeans offers me: mysql-connector-java-5.1.23-bin.jar

           ^ this is what the console identifies when i create my data source. After that I just add the provided persistence unit configuration and press the run button.


      Thank you very much for your help!