Reputation: 1319
So I'm trying to run JBoss server in Intellij, but there's a conflict between JBOSS_HOME path that Intellij reads from somewhere and the actual path to Jboss folder that is set in Run/Debug Configuration.
The Run/Debug Configuration Jboss path used to be the same as JBOSS_HOME, but it has changed, and it looks like JBOSS_HOME didn't get updated.
There is no environmental variable called JBOSS_HOME, so I guess Intellij stores it's own variables somewhere.
I've already checked File->Settings->Appearance & Behaviour->Path Variables but there's no JBOSS_HOME variable set. I've tried restarting Intellij with no luck.
Any ideas guys?
Upvotes: 3
Views: 6100
Reputation: 15528
Those are set individually per each application server defined, be it JBoss, Tomcat or something else. You can access and create/modify/remove them in 2 ways:
File
-> Settings
-> Build, Execution, Deployment
-> Application servers
Run/Debug configuration window
. From the dropdown list in your upper right corner where the run/debug buttons are, select Edit configurations...
, select your JBoss run configuration from the tree on the left and click on the Config
button (which will open a window pretty much identical to the one at point 1.)Upvotes: 4