1.打开cmd后,输入命令 netstat -o -n -a | findstr :8080 2.直接终止 […]
electron总是打包失败。发现node版本太高或者太低都容易出现这样或者那样的问题,试了一圈发现最稳定的还 […]
解决方案: 要重新安装加载electron。这只是其中一个解决方案。 1、首先 npm instal或者yar […]
运行npm命令报错: Error: EPERM: operation not permitted, mkdir […]
一、引入layui的js,css
1 2 3 4 |
<script th:src="@{static/admin/lib/jquery/jquery.min.js}"></script> <script th:src="@{static/admin/layui/layui.js}"></script> <link rel="stylesheet" type="text/css" href="../../../static/admin/layui/css/layui.css" /> <link rel="stylesheet" type="text/css" href="../../../static/admin/css/admin.css" /> |
二、htm […]
修改了一下开源项目的目录结构访问突然报错Error resolving template “XXX […]
第一种方案: 直接修改yml配置文件:
1 2 3 4 5 6 7 8 |
#thymeleaf thymeleaf: cache: false prefix: classpath:/templates/ check-template-location: true suffix: .html encoding: utf-8 mode: HTML |
#这 […]
主要原因项目搭建的时候为了保证项目的安全,配置文件会进行访问拦截 所以引用静态资源尽管引用路径没有出错,但项目 […]