Warning the selected directory is not a valid tomcat home

前端 未结 9 2075
礼貌的吻别
礼貌的吻别 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条回答
  •  Happy的楠姐
    2021-02-12 22:52

    Problem:

    This happens because intellijIDEA doesn't have enough permission to read and write on the tomcat home folder, this hapeens on linux machines.

    Solution

    let your tomcat root folder = "/opt/tomcat" then this command which will set the right privilege level for intellijIDEA.

    $ sudo chmod 755 -R /opt/tomcat

提交回复
热议问题