创建strus,参考文如下:

https://blog.csdn.net/u010358168/article/details/79769137

 

使用IntelliJ IDEA创建struts2工程时,编写struts.xml文件时,提示找不到struts-default文件,网上搜了很多方法,终于找到了解决办法:

确认工程中导入了struts2-core-2.x.jar包;

在File → Project Structure → Modules → struts2,选择Default File Set,然后点击上方的“编辑”,添加struts-default.xml

 【转载】使用IntelliJ IDEA提示找不到struts-default文件

【转载】使用IntelliJ IDEA提示找不到struts-default文件

 

 【转载】使用IntelliJ IDEA提示找不到struts-default文件

 


---------------------
作者:喵小瞳
来源:CSDN
原文:https://blog.csdn.net/qq_33327769/article/details/73076844
版权声明:本文为博主原创文章,转载请附上博文链接!

相关文章:

  • 2021-12-04
  • 2021-12-17
  • 2022-01-09
  • 2021-08-13
  • 2021-09-24
  • 2021-04-30
  • 2021-09-07
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-15
  • 2021-10-12
  • 2022-01-16
  • 2021-07-31
  • 2021-05-04
相关资源
相似解决方案