分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > IT知识

解决警告: Setting property 'source' to 'org.eclipse.jst.jee.server_:' did not find a matching property.的方法

发布时间:2023-09-06 01:51责任编辑:熊小新关键词:jseclipse

今天第一次搭建struts2框架,跟着网上的教程导入对应的jar包之后就开始写登录的jsp页面,但是运行时出现了问题,

浏览器显示“The requested resource is not available.”的提示。

于是我查看了Console那里,发现有这么一条警告

“Setting property ‘source‘ to ‘org.eclipse.jst.jee.server struts2(我的项目名):‘ did not find a matching property.”

于是乎百度了一下,找到了解决方案

1. server 右键——》选择properties

2.单击Switch Location,这时,路径变为如下图显示的,保存

 3.双击server,打开Tomcat v7.0 Server at localhost.server 这个文件,选中publis module context to separate xml file 并保存(保存前先要停止服务器)

最后重启服务器,运行登录页面成功!

解决警告: Setting property 'source' to 'org.eclipse.jst.jee.server_:' did not find a matching property.的方法

原文地址:https://www.cnblogs.com/Lesleyhi/p/8955826.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved