草庐IT

ruby - gem 安装错误 : 'Please specify at least one gem name'

例如,当我运行“geminstallbundler”时,如果我运行的是ruby​​1.9.3版本,它工作正常,但是当运行ruby​​2.1.2时,它似乎没有看到“bundler”arg并给我ERROR:Whileexecutinggem...(Gem::CommandLineError)Pleasespecifyatleastonegemname(e.g.gembuildGEMNAME)我在两个运行rbenv的不同系统上看到了这一点。这是RBENV_DEBUG=1运行时输出的最后一部分:+[rbenv-exec:45]exportPATH=/home/ded/.rbenv/versio

分析解释selenium:DeprecationWarning: executable_path has been deprecated, please pass in 和打开浏览器闪退问题

问题一:报错:DeprecationWarning:executable_pathhasbeen          我们在解决chrom版本和驱动版本的问题后(如果还没有解决,可以私信我给你们chrome和chromedriver的包)写完基础的代码后会发现报错:url='http://www.baidu.com'path='chromedriver.exe'browser=webdriver.Chrome(path)browser.get(url)DeprecationWarning:executable_pathhasbeendeprecated,pleasepassinaServiceo

分析解释selenium:DeprecationWarning: executable_path has been deprecated, please pass in 和打开浏览器闪退问题

问题一:报错:DeprecationWarning:executable_pathhasbeen          我们在解决chrom版本和驱动版本的问题后(如果还没有解决,可以私信我给你们chrome和chromedriver的包)写完基础的代码后会发现报错:url='http://www.baidu.com'path='chromedriver.exe'browser=webdriver.Chrome(path)browser.get(url)DeprecationWarning:executable_pathhasbeendeprecated,pleasepassinaServiceo

【突发】解决remote: Support for password authentication was removed on August 13, 2021. Please use a perso

引言Github不能拉代码了?今天我像往常那样更新一下Github代码,发现竟然报了下面的错误:$gitpullremote:SupportforpasswordauthenticationwasremovedonAugust13,2021.Pleaseuseapersonalaccesstokeninstead.remote:Pleaseseehttps://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/formoreinformation.fatal:unabletoaccess'ht

【突发】解决remote: Support for password authentication was removed on August 13, 2021. Please use a perso

引言Github不能拉代码了?今天我像往常那样更新一下Github代码,发现竟然报了下面的错误:$gitpullremote:SupportforpasswordauthenticationwasremovedonAugust13,2021.Pleaseuseapersonalaccesstokeninstead.remote:Pleaseseehttps://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/formoreinformation.fatal:unabletoaccess'ht

Please set spring.main.web-application-type=reactive or remove spring-boot-starter-web dependency.

一、问题在启动springcloud的gateway模块的时候报错Pleasesetspring.main.web-application-type=reactiveorremovespring-boot-starter-webdependency.二、问题产生的原因gateway组件中的spring-boot-starter-webflux和springboot作为web项目启动必不可少的spring-boot-starter-web出现冲突。三、解决方案(任选一种就可以)3.1注释pom.xml内容在gateway的pom文件上注释掉spring-boot-starter-web代码   

Please set spring.main.web-application-type=reactive or remove spring-boot-starter-web dependency.

一、问题在启动springcloud的gateway模块的时候报错Pleasesetspring.main.web-application-type=reactiveorremovespring-boot-starter-webdependency.二、问题产生的原因gateway组件中的spring-boot-starter-webflux和springboot作为web项目启动必不可少的spring-boot-starter-web出现冲突。三、解决方案(任选一种就可以)3.1注释pom.xml内容在gateway的pom文件上注释掉spring-boot-starter-web代码   

java.lang.IllegalArgumentException: unknown setting [discovery.send_hosts] please check that any req

今天在部署es集群的时候,发现它报了下面这样的一个错误:uncaughtexceptioninthread[main]java.lang.IllegalArgumentException:unknownsetting[discovery.send_hosts]pleasecheckthatanyrequiredpluginsareinstalled,orcheckthebreakingchangesdocumentationforremovedsettingsatorg.elasticsearch.common.settings.AbstractScopedSettings.validate(

java.lang.IllegalArgumentException: unknown setting [discovery.send_hosts] please check that any req

今天在部署es集群的时候,发现它报了下面这样的一个错误:uncaughtexceptioninthread[main]java.lang.IllegalArgumentException:unknownsetting[discovery.send_hosts]pleasecheckthatanyrequiredpluginsareinstalled,orcheckthebreakingchangesdocumentationforremovedsettingsatorg.elasticsearch.common.settings.AbstractScopedSettings.validate(

使用新版burp时出现A JNI error has occurred, please check your installation and try again

使用新版burp时出现AJNIerrorhasoccurred,pleasecheckyourinstallationandtryagain在bp路径下按住shift点击鼠标右键打开powershell然后输入命令java-jarburpsuite_pro_v2021.5.1.jar出现如下报错信息Error:AJNIerrorhasoccurred,pleasecheckyourinstallationandtryagainExceptioninthread“main”java.lang.UnsupportedClassVersionError:burp/StartBurphasbeenco