- 博客(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 1196 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 902
原创 maven本地仓库导入jar包
安装指定文件到本地仓库命令:mvn install:install-file-DgroupId=<groupId> : 设置项目代码的包名(一般用组织名)-DartifactId=<artifactId> : 设置项目名或模块名-Dversion=3.0.1 : 版本号-Dpackaging=jar : 什么...
2019-10-30 13:55:56 125
原创 关于验证码随机数补齐高位
开始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 140
原创 关于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 1385
原创 后端接收不到数据
@RestController@RequestMapping("/itemsearch")public class ItemSearchController { @Reference private ItemSearchService itemSearchService; @RequestMapping("/search") public Map<St...
2019-04-08 11:10:40 1052
原创 String类型数据接收时带"号解决办法
@RestControllerpublic class LoginController { @RequestMapping("/login") public String loginName(){ return SecurityContextHolder.getContext().getAuthentication().getName(); }}...
2019-04-05 21:47:00 400
原创 在注册中心找不到对应的服务
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 1108
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人