为什么<script>在 jsp 上添加标记会导致错误?



当我在Jsp中添加标签时,它会导致错误,显示

在此行中发现多个注释:-需要标识符-';'预期到底发生了什么?

<%@ page contentType="text/html; charset=iso-8859-1" language="java" %>
<script type="text/javascript" src="plugins/jquery/jquery.min.js"></script>
<script src="plugins/jquery-ui/jquery-ui.min.js"></script>
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="resources/plugins/chart.js/Chart.min.js"></script>
<script src="resources/plugins/sparklines/sparkline.js"></script>
<script src="plugins/jqvmap/jquery.vmap.min.js"></script>
<script src="resources/plugins/jqvmap/maps/jquery.vmap.usa.js"></script>
<script src="plugins/jquery-knob/jquery.knob.min.js"></script>
<script src="plugins/moment/moment.min.js"></script>
<script src="plugins/daterangepicker/daterangepicker.js"></script>
<script src="plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"></script>
<script src="plugins/summernote/summernote-bs4.min.js"></script>
<script src="plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js"></script>
<script src="dist/js/adminlte.js"></script>
<script src="dist/js/pages/dashboard.js"></script>
<script src="dist/js/demo.js"> </script>

也许只需在第5行的末尾添加分号?

相关内容

  • 没有找到相关文章

最新更新