草庐IT

your_cosmos_username

全部标签

idea提示Your idea evaluation has expired. Your session will be limited to 30 minutes

今天打开IDEA写代码突然提示:Yourideaevaluationhasexpired.Yoursessionwillbelimitedto30minutes  翻译如下:评估已过期,您的会话将限制为30分钟。也就是说可以使用,但30min就会自动关闭。我使用的IDEA是2019.3.3的版本,之前也是用了破解包。大学生可以在申请学生认证,但总感觉毕业后就不能用,挺麻烦,所以破解包来的直接一些。申请学生认证网址:JetBrainsforEducation:不断发展废话不多说,直接解决:把提示框的X点掉,会自动打开idea;Help ——> Register,选择 Licenseserver方

java - 为什么 "final static int"可以用作开关的大小写常数,但不能用作 "final static <your enum>"

为什么这个int开关有效:publicclassFoo{privatefinalstaticintONE=1;privatefinalstaticintTWO=2;publicstaticvoidmain(String[]args){intvalue=1;switch(value){caseONE:break;caseTWO:break;}}}虽然这个枚举开关不是:importjava.lang.annotation.RetentionPolicy;publicclassFoo{privatefinalstaticRetentionPolicyRT=RetentionPolicy.RU

java - 为什么 "final static int"可以用作开关的大小写常数,但不能用作 "final static <your enum>"

为什么这个int开关有效:publicclassFoo{privatefinalstaticintONE=1;privatefinalstaticintTWO=2;publicstaticvoidmain(String[]args){intvalue=1;switch(value){caseONE:break;caseTWO:break;}}}虽然这个枚举开关不是:importjava.lang.annotation.RetentionPolicy;publicclassFoo{privatefinalstaticRetentionPolicyRT=RetentionPolicy.RU

安卓玩机搞机技巧综合资源------开机英文提示解决dm-verity corruption your device is corrupt. 设备内部报错 AB分区等等【二】

接上篇安卓玩机搞机技巧综合资源------如何提取手机分区小米机型代码分享等等【一】 ❤❤❤❤❤❤❤❤开机报错DM校验 5秒故障❤❤❤❤❤❤❤❤强解锁刷机ROOT出现dm-veritycorruptionyourdeviceiscorrupt修复方法这种情况多半是MTK的芯片。高通机型一般不会有这样的提示dm-verity corruptionYour deviceis corrupt.It can't be trusted and may not work properly.Press power botton to continue.Or,device will power off in 

解决:You have an error in your SQL syntax; check the manual that corresponds to your MySQL

 错误信息为: checkthemanualthatcorrespondstoyourMySQLserverversionfortherightsyntax   这是之前写的一条Mysql语句报的SQL错误,但是仔细检查SQL语句没有发现有什么异常问题。他会提示你再Mapper中的哪句sql语句的周围有语法错误 解决方法有两个: 1.在数据库表冲突字段前后加`符号(Tab键上面那个键),就不会再报语法错误了; 2.修改数据库表中冲突字段名称,修改为和SQL语句关键字不冲突的其他名称 看了一个小时,发现是自己的列名之间有空格,因为懒得写,复制过来,使用回车是没有影响的INSERTINTOt_us

解决:You have an error in your SQL syntax; check the manual that corresponds to your MySQL

 错误信息为: checkthemanualthatcorrespondstoyourMySQLserverversionfortherightsyntax   这是之前写的一条Mysql语句报的SQL错误,但是仔细检查SQL语句没有发现有什么异常问题。他会提示你再Mapper中的哪句sql语句的周围有语法错误 解决方法有两个: 1.在数据库表冲突字段前后加`符号(Tab键上面那个键),就不会再报语法错误了; 2.修改数据库表中冲突字段名称,修改为和SQL语句关键字不冲突的其他名称 看了一个小时,发现是自己的列名之间有空格,因为懒得写,复制过来,使用回车是没有影响的INSERTINTOt_us

java - 错误 "A JNI error has occurred. Please check your installation and try again in Eclipse x86 Windows 8.1"

考虑:publicclassLoginCumRegimplementsActionListener,KeyListener{privateJFrameform;privateJTextFieldtxtunm;privateJTextFieldtxtnm;privateJTextFieldtxteml;privateJButtoncmdcreate;privateJPasswordFieldtxtpass;privateJPasswordFieldtxtpassreg;privateJButtoncmdok;privateJLabellblunm;privateJLabellblpass

java - 错误 "A JNI error has occurred. Please check your installation and try again in Eclipse x86 Windows 8.1"

考虑:publicclassLoginCumRegimplementsActionListener,KeyListener{privateJFrameform;privateJTextFieldtxtunm;privateJTextFieldtxtnm;privateJTextFieldtxteml;privateJButtoncmdcreate;privateJPasswordFieldtxtpass;privateJPasswordFieldtxtpassreg;privateJButtoncmdok;privateJLabellblunm;privateJLabellblpass

Win11预览体验计划显示Your PC does not meet the minimum hardware requirements...的解决方案

某一天你心血来潮,打算参与Win11预览体验计划,但体验计划页面却显示“YourPCdoesnotmeettheminimumhardwarerequirementsforWindows11…”。一种解决思路:去以下网页下载OfflineInsiderEnroll软件,管理员权限运行后,选择你想参与的体验计划通道。OfflineInsiderEnrollhttps://github.com/disco0/offlineinsiderenroll然后使用管理员权限打开WindowsPowershell,先输入以下代码,回车运行:$path="HKLM:\SOFTWARE\Microsoft\Wi

git submodule fatal: please stage your changes to .gitmodules or stash them to proceed

文章目录打开myProject文件夹所在位置,鼠标右键选择`GitBashHere`直接删掉submodule中的子模块,比如删掉sub_project1到.git文件夹下删掉所有相关的东西删除myProject/.git/config相关内容删除myProject/.git/modules相关内容回到submodule文件夹,gitsubmoduleaddxxx(git仓库地址)`'sub_project1alreadyexistsintheindex'`报错,用--cached`Pleasestageyourchangesto.gitmodulesorstashthemtoproceed`