自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 为bat创建的文件加时间戳

比如bat脚本创建的文件是log.txt@echo offset fname=logset time=%date:~0,4%%date:~5,2%%date:~8,2%set ename=.txtecho%fname%%time%%ename%Pause

2021-01-04 10:29:48 1274 2

原创 JSP中forEach循环嵌套

<c:forEach var="entity" items="${item.rs}" varStatus="status"> <c:set var='state' value='0'/> <c:forEach var="strId" items="${strList}" > <c:if test="${entity.id == s...

2019-10-31 10:41:11 957

原创 maven本地仓库导入jar包

安装指定文件到本地仓库命令:mvn install:install-file-DgroupId=<groupId> : 设置项目代码的包名(一般用组织名)-DartifactId=<artifactId> : 设置项目名或模块名-Dversion=3.0.1 : 版本号-Dpackaging=jar : 什么...

2019-10-30 13:55:56 139

原创 关于验证码随机数补齐高位

开始String类为我们提供了类似的功能,就是String.formatpublic class demo01 { public static void main(String[] args) { Random random = new Random(); Integer i = random.nextInt(1000000); Str...

2019-04-16 16:34:14 146

原创 关于dubbo找不到服务的问题

No provider available for the service com.xx.page.service.ItemPageService from the url zookeeper://192.168.25.128:2181/com.alibaba.dubbo.registry.RegistryService?application=xx-manager-web&dubbo=...

2019-04-11 19:30:23 1417

原创 后端接收不到数据

@RestController@RequestMapping("/itemsearch")public class ItemSearchController { @Reference private ItemSearchService itemSearchService; @RequestMapping("/search") public Map<St...

2019-04-08 11:10:40 1064

原创 String类型数据接收时带"号解决办法

@RestControllerpublic class LoginController { @RequestMapping("/login") public String loginName(){ return SecurityContextHolder.getContext().getAuthentication().getName(); }}...

2019-04-05 21:47:00 411

原创 长久的疑问

编程世界是枯燥的还是有趣的?

2019-04-04 20:22:40 76

原创 在注册中心找不到对应的服务

java.lang.IllegalStateException: Failed to check the status of the service xxx.service.BrandService. No provider available for the service xxx.service.BrandService from the url zookeeper://192.168.25....

2019-04-04 20:18:33 1138

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除