源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  IDEA SpringBoot访问不到webapp下的内容

IDEA SpringBoot访问不到webapp下的内容

分类: 文章 • 2022-10-09 17:48:51

在 IDEA 中引入新的项目时,成功启动项目后访问 webApp 目录下的页面文件,提示404,可在 eclipse 中却可以正常使用。

 

解决方式:

1)点击右上角,【Edit Configurations】

IDEA SpringBoot访问不到webapp下的内容

2)选择要使用的项目,将 Working dIrectory 设置成 $MODULE_WORKING_DIR$

IDEA SpringBoot访问不到webapp下的内容

3)重启项目

 

相关推荐

  • Intellij IDEA Springboot项目访问接口报错invalid bound statement的意想不到的原因
  • iDEA无法访问webapp下的jsp页面问题解决方法
  • IDEA中新建webapp文件没有蓝色的小点,访问不到文件
  • 使用idea启动tomcat后webapp下的其他项目无法访问
  • SpringBoot在启动其项目后,访问不到webapp下的内容
  • 关于 idea 中springboot +freemarker 访问不到静态页的问题
  • SpringBoot访问不到webapp下的内容
  • SpringBoot访问不到webapp下的内容
  • IDEA SpringBoot访问不到webapp下的内容
  • SpringBoot在启动其项目后,访问不到webapp下的内容
  • [转贴]Android Shape渲染的使用(经典,学习研究不后悔)(二十八)
  • J2EE集群原理(转贴)
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号