今天新建了一个项目,引入了echart.min.js文件,结果直接报错。下面分享下解决的方法。

1.选中项目,右键,选择properties

2.选中myeclipse

Java web引入js文件报错

3.选中validation,点击下拉框

Java web引入js文件报错

4.点击excluded resources,然后点击报错的文件夹,就好了。

如:笔者将js问价夹放在了webroot里,然后点击webroot,选中报错的项,打对勾就好了。

Java web引入js文件报错 

 

相关文章:

  • 2022-12-23
  • 2021-07-15
  • 2021-05-07
  • 2021-07-10
  • 2022-12-23
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-26
  • 2021-11-21
  • 2021-04-25
  • 2022-01-10
  • 2021-06-14
  • 2021-11-18
  • 2021-12-05
相关资源
相似解决方案