Warning the selected directory is not a valid tomcat home

前端 未结 9 2037
礼貌的吻别
礼貌的吻别 2021-02-12 22:35

I installed Tomcat with home brew brew install tomcat. On Selecting Tomcat server to add a server to the application server I get this

Warnin

9条回答
  •  再見小時候
    2021-02-12 23:15

    I did what CallmeSurge suggested, except I had to change the following:

    Step 3: Create a new Tomcat Runtime Configuration

    • Select the Runtime Configurations box (top right hand corner of the screen), and select Edit Configurations.
    • Select the green + sign at the top left corner of the box.
    • Select Tomcat (you may have to expand the box to see it)
    • Give your new configuration a name
    • In the Server tab, in the Application Server box, select the tomcat folder you created in steps 1 and 2.
    • In the Deployment tab, select the build artifact you want to deploy. (Note: if you don't have a build artifact configured for your project, you'll have to configure one first).
    • Save the new configuration.

    Now, deploying to tomcat is as easy as selecting the runtime configuration you just created and hitting the Debug or Run arrows.

提交回复
热议问题