- 博客(4)
- 收藏
- 关注
原创 无法搜索到javax.persistence,springboot中添加jpa依赖
未添加jpa依赖前,使用@Transient注释无法搜索到javax.persistence。因此在pom.xml中添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-...
2019-04-13 12:49:28
11987
原创 将前端项目部署到nginx上
1.下载nginx windows2.windows+R ,cmd进入命令行3.进入nginx的目录下4.执行命令start nginx 5.输入 http://localhost:80如果能看到欢迎页面服务器就已经启动了6.打开conf下的nginx.config进行配置listen后的80为端口号server_name中的localhost为端口前的...
2018-12-27 16:14:08
8479
原创 快速搭建基于springboot的ssm框架
1.首先创建一个新的工程,选择Spring Initializr2.next,输入项目名3.next,选择要用到的依赖4.next,然后finish5.等依赖下载好之后,application.properties改为application.yml,并配置文件server: port: 8080spring: http: enco...
2018-12-26 11:21:35
471
原创 关于Springboot中前端向controller传递List参数报错的问题
关于Springboot中前端向controller传递List参数报错的问题为实现批量修改,controller中传入一个List集合,controller中代码如下:@RequestMapping("updateAllGoods") public boolean updateAllGoods( List<Goods> goodsList){ int r...
2018-12-11 17:22:38
22275
5
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人