上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: 转自 http://my.oschina.net/zenglingfan/blog/134872 写代码的时候,经常会碰到需要把一个List中的每个元素,按逗号分隔转成字符串的需求,以前是自己写一段比较难看的代码,先把字符串拼出来,再把最后面多余的逗号去掉;虽然功能可以实现,但总觉得最后加的那一步操 阅读全文
posted @ 2020-01-07 18:32 show-code 阅读(583) 评论(0) 推荐(0)
摘要: 场景:本地分支被误物理删除,想要重新将自己的分支代码从远程拉取下来。(此时取的是最后一次git push上去的分支代码) 1.与远程仓库重新建立关系 1 git clone git@gitlab.名称.git 2.联系后,查看本地当前分支,为master 1 git branch 3.检出想要的远程 阅读全文
posted @ 2020-01-07 18:30 show-code 阅读(24682) 评论(1) 推荐(0)
摘要: http://blog.csdn.net/hcmony/article/details/77854999 idea创建springcloud项目图文教程(EurekaServer注册中心)(六) 1,new -project 选择spring initializr 、 2,创建自己的包名,类名。 3 阅读全文
posted @ 2020-01-06 12:19 show-code 阅读(1675) 评论(0) 推荐(0)
摘要: 问题描述:java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=…) w 阅读全文
posted @ 2020-01-03 22:40 show-code 阅读(14364) 评论(1) 推荐(1)
摘要: 下载地址1、Github下载地址:https://github.com/MicrosoftArchive/redis/releases2、百度网盘下载地址 https://pan.baidu.com/s/1z1_OdNVbtgyEjiktqgB83g 密码:kdfq 安装过程1.首先先把下载的压缩包 阅读全文
posted @ 2020-01-03 19:12 show-code 阅读(151705) 评论(5) 推荐(12)
摘要: 随着使用Spring进行开发的个人和企业越来越多,Spring从一个单一简洁的框架变成了一个大而全的开源软件,最直观的变化就是Spring需要引入的配置也越来越多。配置繁琐,容易出错,让人无比头疼,简化Spring配置简直可以说是民心所向。 Spring Boot是由Pivotal团队提供的一个基于 阅读全文
posted @ 2020-01-03 18:05 show-code 阅读(381) 评论(0) 推荐(0)
摘要: 1. pom.xml添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependenc 阅读全文
posted @ 2020-01-03 18:03 show-code 阅读(1712) 评论(0) 推荐(0)
摘要: IntelliJ Idea 解决 Could not autowire. No beans of ‘xxxx’ type found 的错误提示哈,在使用 @Autowired 时,今天又遇一坑,这俩波浪线是干啥子嘛: 然鹅,试了一下,控制台也不报错,可以正常运行, 数据也有: 于是,又再百度上找答 阅读全文
posted @ 2020-01-03 17:59 show-code 阅读(1220) 评论(0) 推荐(0)
摘要: 无法安装以下功能:.NET Framework 3.5(包括.NET2.0和3.0) 无法通过Windows功能控制面板自动安装或卸载Windows Server 角色和功能。 若要安装Windows Server 角色和功能,请启动服务器管理器,或使用Windows PowerShell的服务器管 阅读全文
posted @ 2019-12-17 22:27 show-code 阅读(7839) 评论(0) 推荐(0)
摘要: response.setCharacterEncoding("UTF-8"); //编码格式为UTF-8 response.setContentType("application/vnd.ms-excel;charset=UTF-8"); //让服务器告诉浏览器它发送的数据属于excel文件类型 其 阅读全文
posted @ 2019-12-05 11:16 show-code 阅读(1315) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 下一页