Skip to content

Tag: deployment

Shared Dependency for two Deployments on Wildfly

I have two webapps, which are deployed within the same wildfly. Both webapps should share certain libraries, which are not part of the wildfly modules. To keep the deployment non-dependent on the specific wildfly, I would prefer not to provide the shared libraries via the wildfly-module system (I am aware, it…

JSON file not copied to target folder

In my java project, I have a .json file which I have placed in resource folder. When I am trying to read this .json file in my main class using the getResourceAsStream() method, I am getting a FileNotFoundException. I checked that under folder target > classes this .json file is not present. I am not sure …