The origin server did not find a current representation for the target resource or is not willing to

本文总结了Web开发中遇到的Tomcat服务器常见问题及解决方案,包括资源未找到、系统变量缺失、依赖库不足及配置错误等,提供具体步骤帮助开发者快速定位并解决问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Web开发问题总结

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

解决办法

  1. 双击Tomcat server,配置

在这里插入图片描述

  1. 检查系统有无下面的系统变量,如果没有自己添加

在这里插入图片描述

Javassist library is missing in classpath! Please add missed dependency!

在这里插入图片描述

解决办法:
将下面的jar包放到工程里面即可
https://download.youkuaiyun.com/download/jolie_laide0212/10703641[javassist-3.12.1.GA.jar]

Unable to load file:/D:/Tools/apache-tomcat-9.0.5/webapps/watermark/WEB-INF/classes/struts.xml

在这里插入图片描述

问题所在:忘了加上面这行代码,加上之后就没有问题了

在这里插入图片描述

Project facet Java version 9 is not supported

查了好久,终于发现问题原因所在了,哈哈哈哈,激动激动
只需要把这里改一下就好了
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值