Tomcat错误?或者是其他东西? [英] Tomcat error? Or something else?

查看:244
本文介绍了Tomcat错误?或者是其他东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是有时候,当我在Eclipse IDE(使用Tomcat 8)工作时,出现了一些问题。它给了我一个HTTP 404错误代码,这显然是第一次看,但问题不在于配置或任何类似的东西,因为这会发生甚至与工作项目。唯一的区别,我看到的是,当我运行项目(然后我知道我会得到一个404错误),tomcat开始更快,即使以前工作。它的加载速度比我提到的更快,但是当我改变它不是加载的东西。但是这里有趣的事情,如果我在已经运行的设计中进行更改,更改将在刷新/重新启动后显示。例如,如果我删除或更改一个持续工作的控制器(取决于之前的情况)一个有趣的事情。当我得到404错误,我看到它的加载更快,我尝试重新启动服务器而不停止它,它不问我是否我想重新启动它...只是提出了索引页。有时它不工作该项目在所有....(404错误)...有时只是没有updadetingit.When发生这种情况,我尝试清理tomcat / web目录,清理项目,重新启动tomcat几次或只是重新启动Eclipse。但是,即使这样,有时候也没有任何效果,而且我松动了很多时间...
任何人面对类似的事情,并有一个解决方案吗?或者是什么造成这个?
提前感谢

解决方案

你应该上传你的代码,以便我们可以看到这里有什么问题。
无论如何,请尝试重新安装Tomcat并按照配置步骤进行操作。服务器无法达到您要求的内容时,通常会导致错误错误404 。在你的情况下,Tomcat没有启动。重新安装并重新配置它。


My problem is that sometimes when i'm working in Eclipse IDE (using Tomcat 8),something goes wrong.It gives me a HTTP 404 error code, which seems obvious for the first look, but the problem is not with the configuration or anything like that,because this happens even with working projects.The only difference i see is that the tomcat is starting faster when i run the project(then i know i will get a 404 error),even if that worked before.Or its loading faster as i mentioned but when i change something its not "loading" that.But here comes the interesting thing,if i make changes in the design which worked already, the changes appears after a refresh/restart.But for example if i delete or change a controller that keeps working or not(depends how was before)One more interesting thing.When i get 404 error and i see its loading faster, and i try to start the server again without stop it,its not asking me if i want to restart it...just brings up the index page.So sometimes its not working the project at all....(404 error)...and sometimes just not "updadeting" it.When this happens i try to clean tomcat/web directory, clean the project, restart the tomcat several times or just restart Eclipse.But even all this sometimes has no effect,and i loose a lot of time with it... Anyone faced something similar before?And have a solution for this? Or an idea what causing this? Thanks in advance.

解决方案

You should upload your code so that we can see what is the problem here. Anyway try reinstalling Tomcat and follow the configuration steps. The error ERROR 404 usually caused when the server could not reach what you requested. In your case the Tomcat is not starting. Reinstall and reconfigure it again.

这篇关于Tomcat错误?或者是其他东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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