maven项目 出现Specified web-root folder does not exist 的错误。
来源:互联网 发布:手机淘宝开店没反应 编辑:程序博客网 时间:2024/06/10 22:59
部署就出现了大家可能都出现的这个问题
然后很多人都进行的的修改这个路径的操作,但是其实并没有修改。
这里呈现的是我们已经把这个目录修改过来了。然后我们很放心的点了ok以为就好了。但是确没有。
你点开项目 -> properties ->Myeclipse -> web 呈现的还是之前的那个路径,所以 这个web-root 的路径根本没有改过来。
我在网上也找了很多个资源但是并没有什么用。都是一些没有帮助的建议,很明显会出现一直绑定出现这个问题的原因肯定跟工作环境中的某个配置文件有关,
如果你没有找到那个配置文件,那你没有根本的解决问题:
找到当前项目下(工作空间下的你当前项目下)的.settings 文件中org.eclipse.wst.common.component 文件
原来应该是有一个配置的source-path 的值是target/m2e-wtp/web-resources。
你将它的值换成你想要的路径。然后保存,回到myclipse当中进行refresh操作。
记住:不要用maven 的updateconfiguration ,如果操作的配置文件会回到原来的配置,不信你自己试试。
5.然后你refresh 一下 再打开就有了。这个时候就解决了你的问题了。
0 0
- Myeclipse 部署 maven项目 出现Specified web-root folder does not exist 的错误。
- maven项目 出现Specified web-root folder does not exist 的错误。
- Specified web-root folder does not exist 错误
- Specified web-root folder does not exist
- MYSQL操作中错误The user specified as a definer ('root'@'%') does not exist的解决
- MYSQL操作中错误The user specified as a definer ('root'@'%') does not exist的解决
- 使用qtcreator时出现The specified source space "/home/xxx/src" does not exist的错误
- The specified JRE installation does not exist m2eclipse build Maven项目报错的问题
- 关于使用MyEclipse启动web项目时工具报 The specified JRE installation does not exist 错误提示解决方法
- mysql出现The user specified as a definer ('root'@'%') does not exist报错!
- mysql出现The user specified as a definer ('root'@'%') does not exist报错!
- The user specified as a definer ('root'@'%') does not exist。
- The user specified as a definer ('root'@'%') does not exist
- #HY000The user specified as a definer ('root'@'%') does not exist
- The user specified as a definer ('root'@'%') does not exist。 .
- The user specified as a definer ('root'@'%') does not exist。
- The user specified as a definer ('root'@'%') does not exist
- The user specified as a definer ('root'@'%') does not exist
- 1024. 科学计数法 (20)PAT乙级&&1073. Scientific Notation (20)PAT甲级
- Material Design(3)(图特多)
- [HDU1556] Color the ball - 树状数组
- 类加载机制 读笔
- 36.activity返回携带数据
- maven项目 出现Specified web-root folder does not exist 的错误。
- 性能优化之list的size
- Android camera总回顾
- PAT A1082. Read Number in Chinese (25/21)
- UVA 524 素数环Prime Ring Problem (回溯法)
- 系统还原手动GHOST使用教程
- 我们究竟要用Docker做什么
- [HDU3584] Cube - 三维树状数组
- [LeetCode] Reconstruct Itinerary