明明有项目和文件,而且别的项目都可以运行,偏偏这个不能用,报错The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.,开始很紧张,现在说下我的解决办法. 找到Services工具栏 然后右击这个Tomcat v9.0 Server at localhost 选择Add and Remove 重新rem…
提交表单之后, 报错页面显示: HTTP Status 404 – 未找到 Type Status Report 消息 Not found 描述 The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Apache Tomcat/9.0.24 截图如下: 查看url,是因为路径里缺少了项目名. 查看代…
今天发现某个action返回404. HTTP Status 404 – Not Found Type Status Report Message /xxx.action Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. Apache Tomcat/8.5.16 网上搜索…
2018-12-21更新 退出tomcat然后删除解压之后的文件夹,然后再启动tomcat也可以解决(安装版tomcat) 2018-12-9更新 有时候这样也可以解决 第一次使用tomcat发布webapp 遇到404错误 Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists…
1.原因 tomcat没有找到项目,因为是用eclipse启动的,不是在tomcat的目录下启动,所以我们需要在eclipse下配置启动目录,好让tomcat找到项目. 2.解决 用本地安装的tomcat,并且路径设置为tomcat的路径就可以,这边使用的是默认路径.…
关于出现这个·问题的原因貌似也是多种多样的? 在stack overflow上的帖子如下:https://stackoverflow.com/questions/43186315/tomcat-404-error-the-origin-server-did-not-find-a-current-representation-for-th 有位博主较为详细的总结如下:https://blog.csdn.net/DBC_121/article/details/79204340 我觉得我应该是以下的环…
访问页面出现404 解决方法: https://blog.csdn.net/dbc_121/article/details/79204340 我的问题主要还是在tomcat调整上, 对了,关于localhost:8080/XX XX在web.xml上查看…
JavaWeb项目中写的JSP页面需要Web容器解析处理成HTML才能展示到前端浏览器,解析JSP需要Web容器.JSP页面顶端出现“红色”的报错信息:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path. javax.servlet.http.HttpServlet是Web容器Tomcat包中的类,将需要的jar包导入项目中就能解决这个问题. 下面是具体的解决方法: 右…
解决: 在application.properties配置文件中的添加标红部分 spring.datasource.url=jdbc:mysql://127.0.0.1:3306/miaosha?serverTimezone=UTC https://www.cnblogs.com/gabriel-y/p/11888270.html Jdbc Driver驱动和ServerTimeZone时区的的问题   一.JDBC驱动的版本号以及名称问题 区别: com.mysql.jdbc.Driver 是…
问题描述: 在创建SpringMVC项目运行构建项目的时候,发现构建失败.报错信息为Maven-No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 意思是需要JDK环境而不是JRE环境. 问题解决: 在项目里面把[windows]--[preference]--[Java]--[Installed JREs]里面把JRE改为JDK即可. 修改之后就可以成功…