由于springboot默认会扫描resources/static文件夹下面

所以引入js路径:

 <script th:src="@{js/echarts.min.js}"></script>

相关文章: