编程语言-月排行
TypeError:can only concatenate list (not "str") to list: 类型错误:只能将list类型和list类型联系起来,而不是str类型; 解决方法: (1)加入list用append添加。 (2)类似这样的写法:"/".join([root_path, ...
分类:编程语言 时间:2019-02-16 14:57:50 收藏:0 阅读:2510
springboot 的 RedisTemplate 的 execute 和 executePipelined 功能的区别 execute 以下是官网原文: Redis provides support for transactions through the multi, exec, and di ...
分类:编程语言 时间:2019-04-03 00:54:50 收藏:0 阅读:8657
解决mybatis报错:Caused by: java.lang.IllegalArgumentException: Result Maps collection does not contain value for com.geek.dao.ContentDao.Integer ...
分类:编程语言 时间:2017-08-07 12:42:33 收藏:0 阅读:3533
springboot项目中报错:listener does not currently know of SID given in connect descriptor 出现这个问题的原因是SID写错了: 配置文件代码里面我写的是: 我配置文件里面写的orcl是小写,改成大写的ORCL,问题解决~ ...
分类:编程语言 时间:2019-02-13 10:40:50 收藏:0 阅读:2438
在keil里面写STM32程序,这样写GPIO_WriteBit(GPIOC,GPIO_Pin_9,1),编译的时候就报enumerated type mixed with another type警告, 这说明数据类型混用了,进入GPIO_WriteBit函数发现其原型是void GPIO_Wri...
分类:编程语言 时间:2015-06-28 21:35:17 收藏:0 阅读:8505
用Maven分模块,其实搭建多模块工程帖子非常多,这里看了这个http://www.cnblogs.com/quanyongan/archive/2013/05/28/3103243.html(转载) 首先建好工程,如图,一个父工程,三个子模块:qgg-web依赖qgg-core和qggservic ...
分类:编程语言 时间:2018-09-04 12:30:00 收藏:0 阅读:3229
直接贴已完成代码 public PayResponse payHttpRequest( MultiValueMap<String, String> params, String signature){ RestTemplate restTemplate = new RestTemplate(); H ...
分类:编程语言 时间:2020-08-26 22:32:14 收藏:0 阅读:1132
SimpleDateFormat sdfYMD = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.SECOND,0); // ...
分类:编程语言 时间:2021-02-24 23:23:24 收藏:0 阅读:1243
报错全文如下 feign.RetryableException: host10.local executing POST http://TIBMAS2-WEBAPI/tibmas2-webapi/api/v1.0/dept/listDeptUserByUserIds\r\n\tat feign.Fe ...
分类:编程语言 时间:2019-06-10 16:40:43 收藏:0 阅读:3670
这个异常是出现在注入配置文件中配置好的属性时报错的: 此时配置文件默认的名称为:application.properties 解决方法: 将配置文件名改为:application.yml 就可以正常启动. 后来又发现如果想让配置文件名称为application.properties 则需要在配置文件 ...
分类:编程语言 时间:2017-11-29 19:18:21 收藏:0 阅读:3437
需要用到datetime,将datetime结构中的年,月,日,时,分,秒分别取出,乘上对应的整数即可。顺便说一下,由于python中int型是64位,因此可将之一并表达,不会出现C++中可能超过32位的问题 上代码:# /usr/bin/python3 # -*- encoding: utf-8 ... ...
分类:编程语言 时间:2017-08-19 13:44:14 收藏:0 阅读:3440
@ 一、问题 1、下载一个twisted包 安装Twisted,进入https://www.lfd.uci.edu/~gohlke/pythonlibs 下载对应twisted 下载好之后 ,我将Twisted-18.4.0-cp36-cp36m-win_amd64.whl,放在E:\\Twiste ...
分类:编程语言 时间:2020-12-29 11:19:15 收藏:0 阅读:1893
前言 就是想把语言修改为中文而已,本来录制的是动图,不过竟然崩了,那就直接静图吧~ 步骤 运行scapostinstall.cmd 配置语言 设置Options ...
分类:编程语言 时间:2020-07-06 18:24:35 收藏:0 阅读:1507
Java是面向对象的编程语言,在我们开发Java应用的程序员的专业术语里,Java这个单词其实指的是Java开发工具,也就是JDK(Java Development Kit)。所以我们常常在CSDN等各大程序员论坛讨论到安装Java8或者JDK8或者JDK1.8或J2SE8或J2SE1.8或J2SE ...
分类:编程语言 时间:2020-02-24 00:12:57 收藏:0 阅读:1974
有时候我们需要在内容详情页实时浏览人数,这时候我们可以使用websocket实现这个功能 配置类 WebSocketConfig.java package com.config; import javax.websocket.Endpoint; import javax.websocket.serv ...
分类:编程语言 时间:2020-03-29 17:41:29 收藏:0 阅读:656
工具类代码如下: ...
分类:编程语言 时间:2019-02-15 16:48:36 收藏:0 阅读:1562
s := append([]int{1, 2}, []int{3, 4}...) https://stackoverflow.com/questions/16248241/concatenate-two-slices-in-go Link:https://www.cnblogs.com/farwis ...
分类:编程语言 时间:2020-06-06 18:29:10 收藏:0 阅读:1687
环境变量有问题,配置如下 点击下面的“环境变量”选项 接下来就是具体的配置过程: 点击“系统变量”下面的”新建“选项 在”变量名“处填上”Java_Home“ ”变量值“为JDK安装路径,笔者的路径是”D:\Program Files\Java\jdk1.8.0_91“ 点击”确定“选项 在”系统变 ...
分类:编程语言 时间:2020-06-17 10:54:06 收藏:0 阅读:3055
当访问192.168.10.98上的tomcat时候,tomcat日志异常 然后查看tomcat服务器上的防火墙 查看service层的防火墙: 至此问题解决: 永久关闭防火墙: 1.首先查看防火墙状态: service iptables status 2.永久性生效,重启后不会复原 开启: chk ...
分类:编程语言 时间:2018-01-31 13:05:21 收藏:0 阅读:2746
13456725642
上一页512833下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!