解决方案

  • Module was compiled with an incompatible version of Kotlin.

    问题描述提示:在项目build的时候报了以下错误:kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.2.解决方案:在项目

    2023-08-08 michael007js 166

  • Could not find method uploadArchives() for arguments in build.gradle在 build.gradle 中找不到参数的方法 uploadArchives()

    uploadArchives { repositories { mavenDeployer { repository(url: uri("${rootProject.projectDir}/maven-repo")) } }}uploadArchives.dependsOn sourcesJar启动时,我收到以下错误:找不到参数的方法

    2023-07-28 michael007js 415

  • Plugin with id ‘maven’ not found

    问题描述原因分析解决方案apply plugin: 'maven'uploadArchives { repositories.mavenDeployer { repository(url:uri('../repo')) pom.groupId = 'com.hougr' pom.artifactId = 'transform.printjar

    2023-07-28 michael007js 597

  • openjdk 11 出现错误Caused by: java.lang.NullPointerException: Location is required的解决方法

    出现错误Caused by: java.lang.NullPointerException: Location is required的解决方法问题原因问题出现的原因是因为空指针,也就是getClass().getResource(“sample.fxml”)这个方法的结果为空我们可以测试一下,把代码稍微分为两段如图,如果为空,则输出hello,停止程序测试结果如下图分析上面我们知道了,没有找到该

    2023-07-17 michael007js 86

  • Unable to make field long java.nio.Buffer.address accessible

    Unable to make field long java.nio.Buffer.address accessible解决方案在IntelliJ IDEA中添加--add-opens标志转到运行/调试配置菜单。您可以在顶部工具栏中找到它,或者导航到Run -> Edit Configurations。在配置设置中,您会找到一个名为“VM options”或“VM options:”的字段。

    2023-07-09 michael007js 250

  • IDEA 总是提示登录github,登陆后不能push的解决办法

    运行环境IDEA版本:2020.2.3Windows 10git 版本:2.29.2问题描述:每次push到github时都提示登录,如下图: 然而,用命令行push是成功的(此方法适用的前提是能从命令行登录)。 IDEA的File|Settings|Version Control|GitHub的配置是已经授权成功了: 试了下使用Token和Login Via GitHub都是可以正常授权的。解

    2023-06-29 michael007js 423

  • 解决git@github.com: Permission denied (publickey). Could not read from remote repository

    原因分析Permission denied (publickey) 没有权限的publickey ,出现这错误一般是以下两种原因客户端与服务端未生成 ssh key客户端与服务端的ssh key不匹配找到问题的原因了,解决办法也就有了,重新生成一次ssh key ,服务端也重新配置一次即可。客户端生成ssh keyssh-keygen -t rsa -C "470812087@qq.co

    2023-06-29 michael007js 57

  • java报错no sigar-amd64-winnt.dll in java.library.path

    java报错no sigar-amd64-winnt.dll in java.library.path发现是sigar需要sigar-amd64-winnt.dll这个文件,下载这个文件放在C:\Windows\System32目录下就行了。Download file sigar-amd64-winnt.dll (256file.com)

    2023-06-29 michael007js 142

上一页1234下一页 转至第
首页
关于博主
我的博客
搜索