编程语言-月排行
在执行脚本添加这一行 source /etc/profile exec nohup java -Xms1024m -Xmx2048m -jar /opt/dev/claimzuul/$JAR_BAO --spring.config.location=/opt/dev/claimzuul/applic ...
分类:编程语言 时间:2019-02-26 16:16:17 收藏:0 阅读:3383
问题复现: dict1 = {1:1} dict2 = {1:2} if (dict1.values()[0] < dict2.values()[0]): print(dict1) 这个时候就会报错,原因是dict的value()和key()返回的并不是一个真正的数组,所以,处理方法也很简单,只需要 ...
分类:编程语言 时间:2020-04-13 17:27:18 收藏:0 阅读:2694
文件存在在data目录下 @GetMapping(value = "/file/download") public ResponseEntity<FileSystemResource> getFile(@RequestParam String fileName) throws FileNotFoun ...
分类:编程语言 时间:2020-05-07 21:47:47 收藏:0 阅读:1541
1.BCryptPasswordEncoder使用之前要加入依赖 如果是SSM加入的依赖 <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-config</artifact ...
分类:编程语言 时间:2020-09-09 20:36:43 收藏:0 阅读:1789
spring boot 运行提示:No active profile set, falling back to default profiles: default Process finished with exit code 1 经检查发现是由于在application.properties配置文 ...
分类:编程语言 时间:2018-04-18 13:55:05 收藏:0 阅读:10833
采用file.Transto 来保存上传的文件,代码简单,速度快。 直接上代码: package com.springbootemaildemo.controller; import com.springbootemaildemo.entity.ResponseEntity; import io.s ...
分类:编程语言 时间:2020-07-02 00:11:03 收藏:0 阅读:2958
1. distinct()不提供按照属性对对象列表进行去重的直接实现。它是基于hashCode()和equals()工作的。如果我们想要按照对象的属性,对对象列表进行去重,我们可以通过其它方法来实现 public static <T> Predicate<T> distinctByKey(Funct ...
分类:编程语言 时间:2020-08-20 16:25:52 收藏:0 阅读:1744
data () { return { listLoading: true, detailsList: {}, list: [{}], detailsQuery: { courseId: undefined } }; }, methods: { getDetailsList () { debugger ...
分类:编程语言 时间:2020-04-20 13:09:11 收藏:0 阅读:2506
最新又开始读起来Spring的源码,突然报了一个错了! exception during working with external system: java.lang.AssertionError 这个错,应该是版本的问题导致的!! IDEA 2019 3版本,将gradle的版本换为 ...
分类:编程语言 时间:2020-04-06 01:05:54 收藏:0 阅读:2341
然后我就检查 后来使用local history 由于昨天某些操作,导致多写了一行<packaging>, 删掉然后就运行正常了! ...
分类:编程语言 时间:2020-05-10 12:05:52 收藏:0 阅读:2856
1、在工作空间下找到 .idea/workspace.xml 2、查找<component name="PropertiesComponent">,并在该元素中添加属性<property name="dynamic.classpath" value="true" /> ...
分类:编程语言 时间:2019-03-04 15:50:50 收藏:0 阅读:4235
1、转发 方式一:使用 "forword" 关键字(不是指java关键字),注意:类的注解不能使用@RestController 要用@Controller 方式二:使用servlet 提供的API,注意:类的注解可以使用@RestController,也可以使用@Controller 2、重定向 ...
分类:编程语言 时间:2019-03-06 11:39:08 收藏:0 阅读:3016
cookie的设置与销毁 1.设置cookie 2.销毁cookie(将cookie的持续时间设置为0) 2.1查找cookie 2.2销毁cookie 3.实际运用效果 生成cookie 注销cookie ...
分类:编程语言 时间:2019-01-28 12:51:27 收藏:0 阅读:5963
代码如下: 执行时报错信息如下:illegal multibyte sequence 尝试解决方式一:添加编码方式:gb18030,失败 尝试解决方式二:编码方式调整为:uft-8,失败 尝试解决方式二:errors 忽略,失败 执行后,不报错了,但是文件内容被解析为乱码。 该问题未解决? ...
分类:编程语言 时间:2019-01-28 14:40:09 收藏:0 阅读:3056
解决方案是删除 pom.xml配置的问题 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin ...
分类:编程语言 时间:2019-12-18 10:16:31 收藏:0 阅读:4821
加上@RequestBody(required = false) 这个就好了 是因为不识别格式 我是post传json ...
分类:编程语言 时间:2020-05-01 19:46:49 收藏:0 阅读:1411
UGUI的Text自己是没有下划线或者文字中间的划去横线的。使用此组件,选择Text和划线类型: 1.设置autoLink=true,运行后自动克隆相同的文本组件,计算文字长度,给克隆的Text填充"_"或者"-"; 2.调用CreateLink方法,为指定Text文本添加下划线 3.此组件暂时用于 ...
分类:编程语言 时间:2021-01-27 14:19:21 收藏:0 阅读:846
线程池的常规使用: 消息发送类,线程池调用 public class MessageClientSendMsg { /** * 日志记录器 */ private static final Log LOGGER = new Log(MessageClientSendMsg.class); /** * ...
分类:编程语言 时间:2020-04-03 01:00:11 收藏:0 阅读:772
JAVA、openOffice、myeclipse报错原因:没有启动openOffice服务。解决办法:运行→cmd,输入:cdC:\Program Files (x86)\OpenOffice 4\program回车再输入soffice -headless -accept="socket,host...
分类:编程语言 时间:2014-07-14 22:46:25 收藏:0 阅读:13955
1.正常情况下,只有Pro版的unity才有权限去掉unity自带的logo. 2.下图是个人版的,Splash Image是灰色的,无法禁用掉: 3.下图是破解版的,破解后的unity Splash Image是可以禁用掉的,如下图: 关掉后的样子: ...
分类:编程语言 时间:2017-08-01 10:08:57 收藏:0 阅读:5082
14567825642
上一页512833下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!