ICode9

精准搜索请尝试: 精确搜索
  • 执行Kakfa Topic创建操作,发现无法创建提示replication factor larger than available brokers2021-04-04 22:05:34

    问题背景与现象 在使用Kafka客户端命令创建Topic时,发现Topic无法被创建。 kafka-topics.sh --create --replication-factor 2 --partitions 2 --topic test --zookeeper 192.168.234.231:2181 提示错误replication factor larger than available brokers。 具体如下: Error wh

  • springboot available: expected at least 1 bean which qualifies as autowire candidate2021-03-23 12:59:58

    springboot available: expected at least 1 bean which qualifies as autowire candidate 奇葩问题 问题: 报启动失败,oss的bean没有注入 分析: 1.之前可用,配置文件没有改,启动类扫描配置没有变更 2.注解没有变更,相关引入都加入了@Autowired 3.可能是因为bean里面有相同

  • pip问题:WARNING: You are using pip version 19.2.3, however version 21.0.1 is available.2021-03-21 09:29:07

    一、问题如下: 具体错误提示为: 二、解决方法如下: 步骤1: (1)WIN+R,输入cmd,调出命令框: (2)输入语句“pip3 install -index-url https://pypi.douban.com/simple requests”并执行,结果为: 步骤2: 输入语句“python -m pip install --upgrade pip --index-url https://pypi.douban.c

  • Swfit 常用特性(Attribute)关键字2021-03-18 15:57:37

    Swfit 常用特性(Attribute)关键字 Swift中的Attribute相当于Java中的注解,但是可惜的是目前Swift不支持自定义Attribute Swfit的特性关键字一般用于声明或者用于类型 使用形式 @属性关键字 或者带参数@属性(参数) @availabel @available用来标识 计算属性(不包含储存属性)、函数、

  • webservice axis绕过https证书验证及NONEwithRSA Signature not available问题解决2021-03-15 12:05:30

    webservice axis绕过https证书验证: public String callWebservice(){ String urlprint = "your url"; String returnCode=null; try { //在方法中添加这一句代码即可 AxisProperties.setProperty("axis.socketSecureFactory", "org.apache.axis.components.

  • Oracle数据库ORA-12516:“listener could not find available handler with matching protocol stack!“问题解决方法2021-03-15 11:33:29

    Oracle 数据库 sql 连接报错: java.sql.SQLException: Listener refused the connection with the following error: ORA-12516, TNS:listener could not find available handler with matching protocol stack! 问题原因: 该问题是数据库负载压力较大,数据库已经启用的进程数达

  • Linux系统内存使用率该怎么计算2021-03-13 10:52:01

    Linux系统内存使用率该怎么计算 郝朝阳 DevOps视角 前言 由于公司逐步使用自己研发的基于docker的云平台,所以监控系统逐步由open-falcon迁移到Prometheus。我写了自动分析各个业务线一个月内服务器性能,并在每天早上10点30分自动发送给相关业务线负责人。数据通过Prometheus的API

  • appium 启动的一个错误Unable to find an active device or emulator with OS 10. The following are available: R2021-03-06 17:03:42

    记录一个启动appium的一个错误: 之前调试好的脚本,打开appium,执行代码是没问题的,但是突然有一天报错了,纳尼??? selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Unable to find an act

  • 解决Linux平台下VMware出现"No 3d support is available from the host"或"Hardware graphics accel2021-03-06 16:02:30

    解决方法 确保宿主机显卡驱动安装正常。 修改配置文件,当前启动vmware的用户,不一定是root cat<> ~/.vmware/preferences mks.gl.allowBlacklistedDrivers = "TRUE" EOF 重启vmware。 refer Arch Wiki : Vmware-Arch wiki.

  • 关于torch.cuda.is_available()一直返回False的解决办法2021-03-06 14:32:39

    关于torch.cuda.is_available()一直返回False的解决办法 本文主要提供不同与其他办法的一种解决办法,即作者亲身经历 使用 显卡NVIDA GeForce MX250 问题原由 最近在学习用pytorch实现训练模型,刚好学到使用pytorch进行GPU加速。但是通过上网查询不同的解决办法,但是torch.cuda.is_

  • spring mvc的security配置提示 No bean named 'springSecurityFilterChain' available2021-03-03 15:02:01

      web.xml文件没有配置spring-security.xml文件 <!-- 配置加载类路径的配置文件 --><context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath*:applicationContext.xml,classpath*:spring-security.xml</param-value>&

  • torch.cudn.is_available()返回false解决方案2021-03-01 21:33:39

    环境 系统:ubuntu18.04 显卡:gtx1070 之前,一直用pytorch用的好好的,今天突然不能调用gpu了,很奇怪,在网上好一通找。大部分都是说什么pytorch和cuda的版本对应不正确,我寻思不对啊之前都用的好好的怎么会突然版本不对呢? 赶紧查查cuda版本: nvcc –V 或者 cat /usr/local/cuda/ver

  • Parameter ‘ids‘ not found. Available parameters are [array, arg0]2021-02-04 19:29:03

    Parameter ‘ids’ not found. Available parameters are [array, arg0] mabaties在批量删除,接收数组或者集合时,写法是不同的 接收数组 错误写法 int deleteCoinvoiceInfoByCoids(@Param("ids") Long[] ids); <update id="deleteCoinvoiceInfoByCoids" > update bas

  • No qualifying bean of type ‘service‘ available:单元测试报错2021-02-04 15:00:04

    百度了好久,都试过了但还是不行,最后发现了,框架采用的分布式架构,单元测试调用的service在另一个dubbo服务中,原来没有再spring配置里面配置另一个服务的路径,加上去就好了;  

  • 查看服务器剩余内存的正确姿势2021-01-17 16:32:41

    centos7服务器linux命令:free -h,查询当前服务器内存使用状况以及剩余内存状况; 实践图片 参数说明 total:服务器内存总大小:3.8G used:已经使用了多少内存:1.3G free:未被任何应用使用的真实空闲内存; shared:被共享的物理内存; buff/cache:缓冲、缓存区内存数,缓存在应用之中; availabl

  • 【ubuntu痴呆】torch.cuda.is_available()结果为false2021-01-17 14:29:14

    查了一下,这个问题应该是因为显卡驱动、cuda版本、torch版本不匹配。但是我朋友在解决这个问题的过程中降级cuda、升级torch都不好使。后来发现这三个版本之间有约束关系,一个对不上都不行。 在conda install torch指定版本的过程中,我发现他会自动给你更新cudatoolkit(到一个可

  • [LeetCode] 999. Available Captures for Rook 国际象棋中车的可捕获量2021-01-14 15:04:10

    On an 8 x 8 chessboard, there is one white rook.  There also may be empty squares, white bishops, and black pawns.  These are given as characters 'R', '.', 'B', and 'p' respectively. Uppercase characters represent w

  • BindingException: Parameter 'approval_state' not found. Available parameters are [arg1, ar2021-01-12 17:32:04

    14:29:01.180 [http-nio-8888-exec-30] WARN  o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - [logException,199] - Resolved [org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'approval

  • WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is2021-01-11 08:32:52

    错误信息: C:\Users\taorp>pip install pipenvWARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after con

  • # 使用Spring cloud Ribbon异常:java.lang.IllegalStateException: No instances available for XXX2021-01-10 11:32:23

    java.lang.IllegalStateException: No instances available for XXX 问题描述: 是这样的,我在学习Ribbon时,总是报这个异常,但是注册中心里明明有这个实例。填上去却总是报错。 根据这篇文章https://blog.csdn.net/szq2mei/article/details/101940475,发现自己用错了东西。 记录一下,Ri

  • Pytorch torch.device()的简单用法2021-01-06 23:32:32

    一般来说我们最常见到的用法是这样的: device = torch.device("cuda" if torch.cuda.is_available() else "cpu") 同: if torch.cuda.is_available(): device = torch.device("cuda") else: device = torch.device("cpu") 这个device的用处是作为Tensor或者Mo

  • change the available bandwidth of tcp flow dynamically in mininet2020-12-26 11:30:51

      I want to make a tcp sender probe dynamically available bandwidth during the session. Previously, I tried to change the bandwidth of net device directly with the help of tc [1]. But the reusults are not conforming to my expection.   So ,in this post,

  • loadrunner Controller 删除available scripts中无用脚本2020-12-23 12:02:16

    解决办法: 开始->程序->运行项中输入regedit->回车,打开注册表,在HKEY_CURRENT_USER\Software\Mercury Interactive\RecentScripts中可以看到以往历史脚本,右键删除无用的脚本,这样在Controller 设置方案时available scripts的脚本列表中不再显示这些无用脚本。      

  • Linux 内存分析工具——free命令2020-12-23 08:35:15

    在Linux系统经常被用作服务器系统。当服务器内存吃紧的时候,free命令是我们最常使用的内存分析工具。 free使用介绍 free命令可以显示Linux系统中空闲的、已用的物理内存及swap内存,及被内核使用的buffer。在Linux系统监控的工具中,free命令是最经常使用的命令之一。 free命令使用起

  • EduClient#getCourseInfoByCourseId(String) failed and no fallback available.2020-12-22 21:03:43

    1丶服务调用出错:EduClient#getCourseInfoByCourseId(String) failed and no fallback available. 2丶解决方案: 写错啦。。。。。     3丶写对就行了  

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有