Tomcat错误?或者是其他东西? [英] Tomcat error? Or something else?
问题描述
任何人面对类似的事情,并有一个解决方案吗?或者是什么造成这个?
提前感谢
你应该上传你的代码,以便我们可以看到这里有什么问题。
无论如何,请尝试重新安装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屋!