警告所选目录不是有效的tomcat主目录 [英] Warning the selected directory is not a valid tomcat home

查看:2662
本文介绍了警告所选目录不是有效的tomcat主目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Tomcat与home brew brew install tomcat 。在选择Tomcat服务器以将服务器添加到应用程序服务器时,我得到了这个

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


警告所选目录不是有效的tomcat主页。

Warning the selected directory is not a valid tomcat home.

然而,运行 catalina start 启动终端上的tomcat服务器。

However, running catalina start starts the tomcat server on my terminal.

推荐答案

第1步。

下载 tomcat ,扩展名为tar.gz。
NB。 tar.gz 延期

Download the tomcat with the tar.gz extension. NB. The tar.gz extention

步骤2。

解压缩文件并确保文件夹名称保持 tomcat ,保存到您的图书馆。

Unzip the file and make sure the folder name remain tomcat, save it to your library.

第3步。

访问intellijIDEA上的首选项设置

Access the preference settings on your intellijIDEA


  • 在构建,执行和部署下,选择应用程序服务器。

  • 尝试添加新服务器,单击 + 并从下拉列表中选择 Tomcat Server

  • 单击 ... elipse,用于选择先前已经解压缩到库中的文件夹。

  • 选择 tomcat 文件夹并繁荣。

  • Under Build, Execution and Deployment, select application server.
  • Attempt to add a new server, click + and select Tomcat Server from the drop down.
  • Click on the ... elipse to select the folder you have unziped earlier into your library.
  • select the tomcat folder and boom.

你很高兴,准备好使用。

You are good to go, ready for use.

这篇关于警告所选目录不是有效的tomcat主目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆