A minimal example that produces this error. This example works with the sample Datasource (H2) of the Wildfly application server.
Simply build both projects and deploy the project test.jar first, test.war afterwards. The error occurs as soon as you try to deploy test.war.
|