Intellij 2025.1.1.1
Sometimes you want to use a dependency from your project workspace when running a server, in my case an old JBoss.
Unfortunately the JBoss does not get this right out of the box , so I made this change:
- right click on the JBoss in the Services tab
- Edit Configuration
- Deployment tab
- Edit artifact (in my case the ear:exploded)
- In the Output Layout mark the .war entry
- press the + element
- Choose Module Output
- Choose the module you want to be used
This way I got my JBoss running with the local module
Addendum:
Sometimes this stops working, unload and load seems to work most of the time to fix it
No comments:
Post a Comment