上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 最近用maven打包springboot项目时,将打好的jar包运行,报错:找不在main主清单 原来是项目的pom.xml中没有指定项目启动的main方法导致,解决方法如下 在pom.xml中加入如下节点 阅读全文
posted @ 2017-11-19 13:35 电影公众号 阅读(5137) 评论(0) 推荐(0) 编辑
摘要: 因为近期项目需要使用php,需要搭建apache环境,记录一下 apache2.4网盘下载地址 链接:http://pan.baidu.com/s/1dFvpHkP 密码:9zc2 1. 解压到安装包到 D:Apache24文件夹下(放到磁盘根路径下) 2. 进入Apache24\conf目录下打开 阅读全文
posted @ 2017-11-09 16:17 电影公众号 阅读(399) 评论(0) 推荐(0) 编辑
摘要: <h2>start -- ${start}</h2><h2>end -- ${end}</h2><fmt:formatDate var="endDay" type="date" value="${start}" /><fmt:formatDate var="startDay" type="date" 阅读全文
posted @ 2017-11-08 17:02 电影公众号 阅读(1650) 评论(0) 推荐(0) 编辑
摘要: 在忘记root密码的时候,可以这样 1. 关闭正在运行的MySQL服务。 2. 打开DOS窗口,转到mysql\bin目录。 3. 输入mysqld --skip-grant-tables 回车。--skip-grant-tables 的意思是启动MySQL服务的时候跳过权限表认证。 4. 再开一个 阅读全文
posted @ 2017-11-03 21:58 电影公众号 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 本文介绍如何在Linux服务器下配置springboot项目服务 1.新建一个.service文件(我这边命名为test.service,其中test为服务名) 内容如下 [Unit]Description=testAfter=syslog.target [Service]ExecStart=/ho 阅读全文
posted @ 2017-11-03 21:44 电影公众号 阅读(5195) 评论(0) 推荐(0) 编辑
摘要: 1.定义css样式<style type="text/css"> a.popup{position:relative;} a.popup span{display:none;position:absolute;top:-40px;left:2px;z-index: 99;border: 1px so 阅读全文
posted @ 2017-11-03 21:00 电影公众号 阅读(10278) 评论(0) 推荐(0) 编辑
摘要: public class Test { public static void main(String[] args) throws Exception { CityModel city1 = new CityModel(); city1.setCity_code(1); CityModel city 阅读全文
posted @ 2017-11-03 20:53 电影公众号 阅读(7662) 评论(0) 推荐(2) 编辑
摘要: 进入nginx配置文件路径 cd /usr/local/nginx/conf/ 修改 文件 nginx.conf 内容如下 upstream tomcat8080_api { server 66.666.666.666:8080 weight=1; } server { listen 80; ser 阅读全文
posted @ 2017-10-29 13:52 电影公众号 阅读(8413) 评论(0) 推荐(0) 编辑
摘要: springboot项目的配置文件有properties类型和yml类型 注意: properties类型的配置文件中 配置项的key和value中间用 = 号连接 yml类型的配置文件中 配置项的key和value中间用 : 号连接 随手记一下........ 阅读全文
posted @ 2017-10-22 12:39 电影公众号 阅读(268) 评论(0) 推荐(0) 编辑
摘要: import java.io.UnsupportedEncodingException;import java.security.MessageDigest;import java.security.NoSuchAlgorithmException; /** * SHA256 摘要算法工具类 * @ 阅读全文
posted @ 2017-09-01 09:59 电影公众号 阅读(24749) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页