Warning the selected directory is not a valid tomcat home

前端 未结 9 2076
礼貌的吻别
礼貌的吻别 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:56

    This recently came up for me on Ubuntu 17.04

    What worked for me

    cd /var/lib/tomcat8
    rmdir lib/
    ln -s /usr/share/tomcat8/lib/ .
    ln -s /usr/share/tomcat8/bin/ .
    

    I'm not sure this is the best fix but it worked for me. For some reason the default install left the tomcat8/lib directory empty while the real libraries are under the share directory.

提交回复
热议问题