首页 index.html 

spring boot js 文件引用 单引问题。

 

访问首页空白 。

spring boot js 文件引用 单引问题。

F12 控制台看页面元素布局。发现有两个body 标签 ,而且 </head> 标红。

各种检查。。。。好像是没有问题。

但就是访问空白。去掉script正常。

所以问题就在这个标签里。经常检查这个script 并没有写全。有开头并没有结尾。

<script type="text/javascript" src="/js/jquery-3.1.1.js"></script>
写全了,就正常了。

 

相关文章:

  • 2022-01-05
  • 2022-12-23
  • 2022-01-27
  • 2021-07-13
  • 2021-04-23
  • 2021-12-06
  • 2022-01-01
猜你喜欢
  • 2021-04-19
  • 2021-08-09
  • 2021-07-25
  • 2021-08-17
  • 2022-12-23
  • 2021-12-23
相关资源
相似解决方案