文章列表 第2页

  • 2022-09-07 2 7,430
    Java 在线反编译&反编译工具

    1: 在线反编译  http://www.javare.cn/ 存在的问题: 反编译回来的中文汉字变乱码   2:jd-gui 需要下载 官方网址: http://jd.benow.ca/。 下载后解压,即可使用 存在的问题: 反编译回来的中文汉字不可从jd-gui页面复制出来 解决方法: 2.1 点击左上角的file--> save, 将文件保存              此时代码前会带行数注释...

  • 2022-09-07 0 1,099
    JVM调优命令——jmap

    JVM调优最重要的是通过分析dump文件。dump文件有两种,一种是heap dump文件,另一种是thread dump文件。heap dump文件是某一时刻JVM堆存储的快照,是一种镜像文件,用来记录某一时刻内存信息,包括内存的占用,使用率以及GC方式等。而thread dump是记录某一时刻cpu信息,主要是线程的执行情况等,例如某一时刻线程执行到哪个类的哪个方法上了。heap dump文件...

  • 2022-09-07 1 7,772
    LInux Mysql 启动时报错: Job for mysqld.service failed because the control process exited with err...解决方法

    1、启动mysql 报错 service mysqld start Redirecting to /bin/systemctl start mysqld.service Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.serv...

  • 2022-09-07 0 3,890
    Element type is invalid: expected a string (for built-in components) or a class/function

    报错: Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component f...

  • 2022-09-07 1 4,965
    MAVEN 报错:Plugin 'org.apache.maven.plugins:maven-compiler-plugin:2.3.2' not found

    一、问题: MAVEN 设置编译版本时,报错:Plugin 'org.apache.maven.plugins:maven-compiler-plugin:2.3.2' not found  如下图: 配置如下: 二、解决方法: 将JDK版本跟POM文件配置的版本设置为一致: 将POM文件的1.7版本改为13版本即可。   三、排查过程: 检查配置是否有误; 到maven官网查询插件的版本等信息:...

  • 2022-09-07 0 3,300
    Android resource linking failed 错误处理方法

    如果你的项目之前是正常的,突然出现Android resource linking failed 错误,无法编译。如下图 什么android X 适配的文章都是扯淡, 直接进入.gradle下的caches删除transforms-1(最好删除项目中的.idea和bulid),重启android studio...

  • 2022-09-05 0 2,612
    java基础回顾--2、switch提示 Constant expression required

    问题 某次写代码时,switch 的 case 中总是提示 Constant expression required ,用IDEA智能修复,总是修复不好 解决方案 后来查了下才发现是因为 case 中的我使用的是某个对象的静态变量,该变量类型是 Integer,把类型改为 int 即可(建议看完下方 其他注意点 的 第1条) 其他注意点 1、对象属性为 Integer 与静态变量 int 的比较,...

  • 2022-09-05 0 2,310
    502网关错误解决_什么是502错误网关错误(以及如何解决)?

    502网关错误解决 A 502 Bad Gateway Error occurs when you try to visit a web page, but one web server gets an invalid response from another web server. Most of the time, the problem is on the website itself, ...

  • 2022-09-05 1 3,116
    Caused by: java.net.ConnectException: Connection refused: connect 连接被拒绝异常

    通过了解异常出现的原因,咱们知道,可以用以下两种方法解决此异常:     杀死占用端口号(一般为8080)的进程,释放端口;     彻底关闭 Tomcat 服务器,或者重新启动项目。...

  • 2022-09-05 1 10,899
    Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom错误解决

    今天初始化SpringBoot的时候遇到了一个问题,Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom   解决步骤: 1.检查setting里面maven的配置: 然后我发现自己并没有问题,开始第二步。   2.更换仓库和镜像,也没用。 3.查看阿里云镜像,访问https://ma...