会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zwh2020
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
73
74
75
76
77
2020年9月17日
jenkins+docker+nginx+tomcat实现vue项目部署
摘要: 一、项目准备 1、新建一个vue的项目,确保能在浏览器正常访问。然后在项目的根目录下新建一个Dockerfile的文件,内容如下 注意:前提时项目中有dist文件夹。 FROM nginx COPY dist /usr/share/nginx/html/ COPY nginx.conf /etc/n
阅读全文
posted @ 2020-09-17 16:42 周文豪
阅读(822)
评论(0)
推荐(0)
2020年9月16日
docker+tomcat+jenkin实现立即构建Springboot项目(docker安装)
摘要: 一、创建一个Springboot项目 1、编写pom.xml <groupId>com.zwhxpp</groupId> <artifactId>springboot</artifactId> <version>1.0-snapshot</version> <packaging>war</packa
阅读全文
posted @ 2020-09-16 16:43 周文豪
阅读(342)
评论(0)
推荐(1)
2020年9月15日
将springboot项目部署到服务器的tomcat中无法访问
摘要: 第一步:让启动类继承SpringBootServletInitializer,并重写configure方法,关键代码如下 @SpringBootApplication public class MySpringBootApplication extends SpringBootServletInit
阅读全文
posted @ 2020-09-15 18:41 周文豪
阅读(2319)
评论(0)
推荐(0)
2020年9月14日
各种转换
摘要: 1、将JSON字符串转换成List集合 List<Cart> cartList_cookie=JSON.parseArray(cartListString,Cart.class); 2、将map集合转成JSON字符串 JSON.toJSONString(map) 3、将list集合转成JSON字符串
阅读全文
posted @ 2020-09-14 11:49 周文豪
阅读(316)
评论(0)
推荐(0)
hutool的DateUtil工具类
摘要: 1.0、DateUitl(日期时间) 0)坐标 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.3.9</version> </dependency> 1)date方法获
阅读全文
posted @ 2020-09-14 09:50 周文豪
阅读(4153)
评论(0)
推荐(0)
上一页
1
···
73
74
75
76
77