编程语言-周排行
问题: springboot启动失败( No active profile set, falling back to default profiles: default) 解决方法 在pom.xml文件中增加以下依赖 <dependency> <groupId>org.springframework ...
分类:编程语言 时间:2019-08-08 12:10:32 收藏:0 阅读:5955
使用多线程同时执行多个函数 ...
分类:编程语言 时间:2019-10-17 17:20:07 收藏:0 阅读:403
生产者追加配置 1、配置文件application.properties 2、Configuration.java 引入附件 System.setProperty("java.security.auth.login.config", "classpath:kafka_client_jaas.conf ...
分类:编程语言 时间:2019-11-13 10:20:29 收藏:0 阅读:1984
spring boot server port不起作用:设置了端口号8011,但是启动后一直是默认8080 原因是port:8011没有缩进 ...
分类:编程语言 时间:2019-11-16 11:49:11 收藏:0 阅读:2835
转换文件 swagger 地址, 基于 SpringBoot 开发 http://119.27.167.41:8888/convertor/swagger-ui.html 带有图片的word 转换体验 转换前的word 文档 转换后的pdf 文档 图片保持原样不失真 ...
分类:编程语言 时间:2019-11-18 23:05:22 收藏:0 阅读:1844
1、读取数据,存为numpy数组: 存为numpy数组以后,my_data的尺寸可以用 进行查看,用 进行修改尺寸。 2、读取数据,存为list列表: ...
分类:编程语言 时间:2019-11-24 21:28:17 收藏:0 阅读:3812
Object result = point.proceed(); if (result != null) { if (result instanceof R){ Entity.setResult(new Gson().toJson(result)); }else { Entity.setResult ...
分类:编程语言 时间:2019-12-19 21:52:53 收藏:0 阅读:1146
jar文件没有同步发布到自己项目的lib目录中(如果你是用Maven进行构建的话) 可以试试.在不行就 Maven clean和 Maven install。亲测可用 ...
分类:编程语言 时间:2019-12-30 14:02:15 收藏:0 阅读:2722
1.安装包的时候出现的问题 2.试了好多方法,终于 pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --ignore-installed 安装成功 ...
分类:编程语言 时间:2020-02-15 09:52:39 收藏:0 阅读:1930
浮点数据转换为二进制的方法是:1)把浮点数拆分成两部分,小数点前面的整数和小数点后面的小数。2)分别把整数和小数部分转换为二进制,保存在字符串中。3)输出转换后和二进制字符串。1、整数部分转二进制字符串的方法1)把十进数除以2,记下余数(余数保存在字符串中),现用商除以2,再记下余数,如此循环,直到商为0。2)把保存余数的字符串反过来,就是结果。例如123转化成二进制:123/2=61余161/2
分类:编程语言 时间:2020-04-26 22:56:07 收藏:0 阅读:587
开发工具:idea springboot版本:2.2.6 jdk版本:1.8 这里导入依赖就不做展示了(主要导入mybatis-plus与springboot依赖,看业务需求吧) controller层代码如下: 这里主要是把字段修改了 /** * 批量删除用户信息 * 状态为1 :已删除 * * ...
分类:编程语言 时间:2020-06-02 00:22:25 收藏:0 阅读:1262
参考API可见,Java的JDK中提供一个java.util.zip的接口。其压缩过程主要是通过这两个接口压缩文件或者文件夹...... ...
分类:编程语言 时间:2020-06-03 10:10:45 收藏:0 阅读:280
地址:https://www.cnblogs.com/tomoto/p/12915049.html 注意List 使用前需要做非空处理 1.以某个属性分组 Map<String,List<User>> map= userList.stream().collect(Collectors.groupin ...
分类:编程语言 时间:2020-08-14 16:14:39 收藏:0 阅读:1620
此时python版本2.7,requests版本2.12.4在命令行输入python后导入模块,import requests之后有警告: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 这时 ...
分类:编程语言 时间:2020-08-28 23:19:34 收藏:0 阅读:872
yml中配置多数据源: Config读取配置文件创建数据源 ...
分类:编程语言 时间:2020-12-26 10:12:02 收藏:0 阅读:533
Spring Boot版本:2.1.3 Tongweb版本:7.0.4.2 数据库:达梦V8 第一步:排除内置Tomcat,在pom中更改此依赖,其他方式可自行百度 <dependency> <groupId>org.springframework.boot</groupId> <artifactI ...
分类:编程语言 时间:2021-02-19 17:10:06 收藏:0 阅读:788
先说一下吧,首先我的业务需求是有这么一个树tree型数组 这个是我写的demo案例:var a = [ { dir:'', no:'11111' }, { dir:[ { dir:'', no:'22221' }, { dir:[ { dir:'', no:'33332' } ], no:'2222 ...
分类:编程语言 时间:2021-03-02 15:36:08 收藏:0 阅读:434
原因 未知(小白初学) 分析 应该是springboot对es自动配置程序的自动配置为localhost:9200 解决 在application.properties配置如下 spring.elasticsearch.rest.uris=1.15.138.161:9200 插入数据到es中成功 ( ...
分类:编程语言 时间:2021-03-03 19:17:09 收藏:0 阅读:606
# 以获取API商城 - IP查询服务的timestamp签名为例# 是seleniumwire 不是 selenium import time from seleniumwire import webdriver driver = webdriver.Chrome() driver.get('ht ...
分类:编程语言 时间:2021-04-08 23:55:49 收藏:0 阅读:601
解决: 在application.yml配置文件 中加上classic_compatible配置 # freemarkerfreemarker: suffix: .ftl content-type: text/html charset: UTF-8 template-loader-path: cla ...
分类:编程语言 时间:2021-07-08 18:11:26 收藏:0 阅读:358
1101112131425642
上一页512833下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!