简体   繁体   English

Apache Tomcat 404 错误

[英]Apache Tomcat 404 Error

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 服务器”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并访问http://localhost:8080/看看它是否有效。 And I get a 404 error.我得到一个 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?有什么想法吗?

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

Try to use Tomcat 9 Instead of Tomcat 10尝试使用 Tomcat 9 而不是 Tomcat 10

Applications that run on Tomcat 9 and earlier will not run on Tomcat 10 without changes.在 Tomcat 9 和更早版本上运行的应用程序将无法在 Tomcat 10 上运行而不进行更改。 Java EE based applications designed for Tomcat 9 and earlier may be placed in the $CATALINA_BASE/webapps-javaee directory and Tomcat will automatically convert them to Jakarta EE and copy them to the webapps directory.为 Tomcat 9 和更早版本设计的基于 Java EE 的应用程序可以放在 $CATALINA_BASE/webapps-javaee 目录中,Tomcat 会自动将它们转换为 Jakarta EE 并将它们复制到 webapps 目录中。 This conversion is performed using the Apache Tomcat migration tool for Jakarta EE tool which is also available as a separate download for off-line use.此转换是使用适用于 Jakarta EE 工具的 Apache Tomcat 迁移工具执行的,该工具也可以单独下载以供离线使用。

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse我下载了 Apache Tomcat 6.0.2 并在 Eclipse 中创建了一个新服务器

  1. New -> Server新建 -> 服务器
  2. Select "Tomcat v6.0 Server", Next选择“Tomcat v6.0 Server”,下一步
  3. Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Tomcat 安装目录 -> 我解压 Apache Tomcat 6.0.2 的位置
  4. Finish结束

Then I start the server and go to http://localhost:8080/ to see if it works.然后我启动服务器并转到http://localhost:8080/以查看它是否有效。 And I get a 404 error.我收到 404 错误。

I've already googled it and tried to find a solution.我已经用谷歌搜索了它并试图找到解决方案。 But none of those remedies seem to work.但这些补救措施似乎都不起作用。

Any thoughts on what the problem is?关于问题是什么的任何想法?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM