草庐IT

Couldn‘t terminate the existing process for xxx

Couldn’tterminatetheexistingprocessforxxx在AndroidStudio中直接run一个项目的时候,有Couldn'tterminatetheexistingprocessforxxx类型的错误参考:AndroidStudio:Couldn’tterminatetheexistingprocessforxxx我参考上面的连接解决,亲测有效:It’sbecauseyouranindebugmodeorattachdebuggerandthatprocessisnotkilledperfectly.Followthefollowingtoresolvethis

Couldn‘t terminate the existing process for xxx

Couldn’tterminatetheexistingprocessforxxx在AndroidStudio中直接run一个项目的时候,有Couldn'tterminatetheexistingprocessforxxx类型的错误参考:AndroidStudio:Couldn’tterminatetheexistingprocessforxxx我参考上面的连接解决,亲测有效:It’sbecauseyouranindebugmodeorattachdebuggerandthatprocessisnotkilledperfectly.Followthefollowingtoresolvethis

Navicat远程连接,Docker中的mysql,新建数据库时报错:1044 -Access denied for user ‘root‘@‘%‘ to database

 该错误表示root用户没有访问指定数据库的权限 解决办法就是重新赋权1.访问Docker容器内的MySQL命令行界面dockerexec-itmysqlmysql-uroot-p2.输入root用户的密码注:密码是不会显示的,输入完后Enter即可3.切换数据库usemysql;4.更新表host中的列,将根用户的mysql.user值设置为。'%'updateusersethost='%'whereuser='root';注:        默认情况下,MySQL中的root用户只允许从本地计算机(即localhost)进行连接。但是,通过将host列更新为'%',就允许root用户从任何

Unity3d2021版本 使用DOTween插件报错The type name ‘Rigidbody2D‘ could not be found in the namespace ‘****‘问题

问题最近在升级项目至2021版本的过程中发现了诸多这种问题,今天就遇到这样的报错:Assets\Plugins\Demigiant\DOTween\Modules\DOTweenModulePhysics2D.cs(143,18):errorCS1069:Thetypename‘Rigidbody2D’couldnotbefoundinthenamespace‘UnityEngine’.Thistypehasbeenforwardedtoassembly‘UnityEngine.Physics2DModule,Version=0.0.0.0,Culture=neutral,PublicKeyT

处理普通用户安装启动mysql报Can‘t find error-message file‘usrsharemysqlerrmsg.sys‘ 问题

操作系统:centos7mysql版本:5.7.29使用普通用户安装完成以后,启动mysql:/data/mysql/usr/sbin/mysqld--defaults-file=/data/mysql/etc/my.cnf--user=dongzw&日志中报:[ERROR]Can’tfinderror-messagefile'/usr/share/mysql/errmsg.sys’.Checkerror-messagefilelocationand‘lc-messages-dir’configurationdirective.大概搜索了一下,在my.cnf中添加basedir=/data/m

pip报TypeError: ‘type‘ object is not subscriptable错误

因为安装Manim库,中间下载colour组件时因为更新pip版本到23.1.2,与python3.9.0适配的pipversion19.2.3版本矛盾,导致后续无法正常使用python,出现如下报错:C:\Users\Lenovo>piplistTraceback(mostrecentcalllast):File"e:\etools\python3.9.0\lib\runpy.py",line193,in_run_module_as_mainreturn_run_code(code,main_globals,None,File"e:\etools\python3.9.0\lib\runpy.

org.springframework.context.ApplicationContextException: Failed to start bean ‘org.springframework.a

报错org.springframework.context.ApplicationContextException:Failedtostartbean'org.springframework.amqp.rabbit.config.internalRabbitListenerEndpointRegistry';nestedexceptionisorg.springframework.amqp.AmqpIllegalStateException:Fatalexceptiononlistenerstartup使用RabbitMq测试交换机、队列时候报的错苦思冥想一开始我以为是队列的监听器配置信息和监

com.fasterxml.jackson.core.JsonParseException: Unrecognized token ‘Alarm‘: was expecting (JSON Stri

最近在使用httpclient进行post时远程接口发生报错报错信息:org.springframework.http.converter.HttpMessageNotReadableException:JSONparseerror:Unrecognizedtoken'Alarm':wasexpecting(JSONString,Number,Array,Objectortoken'null','true'or'false');nestedexceptioniscom.fasterxml.jackson.core.JsonParseException:Unrecognizedtoken'Ala

Error: Cannot find module ‘@dcloudio/uni-i18n‘

用uni-app开发微信小程序,拉取项目后,使用npminstall后,在微信开发者工具中一直报下面这句错Error:Cannotfindmodule'@dcloudio/uni-i18n'反复安装了很多遍@dcloudio,@dcloudio/uni-i18n都不行,最后解决方法是,找到项目中uview-ui文件下的package.json,文件中有个sass-loader,把那一句的删掉微信开发者工具就不报错了,项目就出来了然后再撤销刚才的删除,项目也不会再报错了

在uniapp 小程序 vue中报 错 Cannot read property ‘substring‘ of undefined

是因是因为对字符串使用substring的时候页面中的数据还没有加载。错误代码:可以使用v-if修改为: