我正在尝试使用VSCode创建一个Minecraft Mod,因为这是我在学校的主编辑器,但当我尝试运行命令gradlew genVSCodeRun时,我得到以下输出,表示成功,但也“无法解析:net.minecraftforge:forge:1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3”。然后,当我运行gradlew build时,以下it输出:
Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
Could not find net.minecraftforge:forge:1.15.2-31.1.0_mapped_snapshot_20200119-1.14.3.
Searched in the following locations:
- file:/C:/Users/eabla/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.15.2-31.1.0_mapped_snapshot_20200119-1.15/forge-1.15.2-31.1.0_mapped_snapshot_20200119-1.14.3.pom
- file:/C:/Users/eabla/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.15.2-31.1.0_mapped_snapshot_20200119-1.15/forge-1.15.2-31.1.0_mapped_snapshot_20200119-1.14.3.jar
- https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3/forge-1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3.pom
- https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3/forge-1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3.jar
- https://libraries.minecraft.net/net/minecraftforge/forge/1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3/forge-1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3.jar
- https://repo.maven.apache.org/maven2/net/minecraftforge/forge/1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3/forge-1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3.pom
- https://repo.maven.apache.org/maven2/net/minecraftforge/forge/1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3/forge-1.14.3.2-31.1.0_mapped_snapshot_20200119-1.14.3.jar
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 40s
1 actionable task: 1 executed
知道这是什么吗?我已经完成了JavaJDK和JRE的新安装,以及ForgeMDK的新安装。
确保你安装了JDK(java开发套件https://www.oracle.com/java/technologies/javase-jdk8-downloads.html),而不仅仅是JRE
你的锻造库不见了。导航到项目目录后,运行命令gradlew eclipse
。这可能需要一些时间,但肯定会解决的D
我将algs4添加到java项目中的引用库中,但当我编译以下项目时,vscode不断显示“RandomWord.java:1:错误:包edu.princeton.cs.algs4不存在”[1]:https://i.stack.imgur.com/SqmqP.jpg [2]: https://i.stack.imgur.com/PMwzz.jpg
我不知道发生了什么,但我正在Windows中的VSCODE工作,将neovim路径添加到settings.json. 我在设置中单击。json和vscode开始自己打开新的编辑器选项卡,其内容与settings.json相同。 我卸载了几次vscode,删除了Appdata漫游vscode、Appdata本地代码等。我重新启动了我的windows机器,并采取了同样的行为。 同步已打开,因此设置将复
我遵循了微软的文档并尝试了下面的SO帖子。目前我正在通过Python:CurrentFile和我的启动进行调试。json如下: 并且我遇到以下错误 我的主要脚本如下: 它有什么问题?
Visual Studio Code - Open Source ("Code - OSS") The Repository This repository ("Code - OSS") is where we (Microsoft) develop the Visual Studio Code product together with the community. Not only do we
我尝试运行一个简单的JavaFX,如下所示; } 我的VMOptions(存储在缺省的launch.json文件中)如下;
ES6 创建 tsconfig.json tsc --init { "compilerOptions": { "module": "commonjs", /* 用来指定要使用的模块标准: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "target": "es6" /* targe