Jump to content

James_zhang

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by James_zhang

  1. This happened when I tried to run genIntellijRuns. Here's the error report: Could not resolve all files for configuration ':runtimeClasspathCopy'. > Could not find net.minecraftforge:forge:1.18.1-39.0.79_mapped_official_1.18.1. Searched in the following locations: - file:/C:/Users/Back to the future/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.1-39.0.79_mapped_official_1.18.1/forge-1.18.1-39.0.79_mapped_official_1.18.1.pom - file:/C:/Users/Back to the future/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.1-39.0.79_mapped_official_1.18.1/forge-1.18.1-39.0.79_mapped_official_1.18.1.jar Required by: project : The full console log: anybody know why this is happening and how I can fix it? I've checked the forge_gradle folder and I couldn't find a folder named "bundeled_repo". Did something go wrong during the setup process? I've checked and the .jar and .pom files can be found in a different folder C:\Users\Back to the future\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.18.1-39.0.79_mapped_official_1.18.1 Thanks a lot!
  2. Hi! As the title says, I ran into a problem when building the gradle. The error report: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'Build 1.8'. > Could not resolve all dependencies for configuration ':modules_userdev_resolver'. > Failed to calculate the value of task ':compileJava' property 'javaCompiler'. > Unable to download toolchain matching these requirements: {languageVersion=17, vendor=any, implementation=vendor-specific} > Could not GET 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2+8/OpenJDK17U-jdk_x64_windows_hotspot_17.0.2_8.zip'. > Connection reset More of the error report in the spoiler below: I assume this is because the github cannot be reached. I am using a VPN, which is necessary for me to reach the github site due to online censorship. I can access the link in my browser and download the file, but apparently the gradle can't get it. Anybody know what's happening?
  3. The error: Could not resolve all files for configuration ':runtimeClasspathCopy'. > Could not find net.minecraftforge:forge:1.17.1-37.0.103_mapped_official_1.17.1. Searched in the following locations: - file:/C:/Users/Back to the future/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.17.1-37.0.103_mapped_official_1.17.1/forge-1.17.1-37.0.103_mapped_official_1.17.1.pom - file:/C:/Users/Back to the future/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.17.1-37.0.103_mapped_official_1.17.1/forge-1.17.1-37.0.103_mapped_official_1.17.1.jar Required by: project : Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html Apparently it's struggling to the file. I did check in the corresponding folder and the files were there. What should I do? There's also another separate error report in the same build process. Don't know if it matters or if the two errors are connected. Caused by: java.util.zip.ZipException: zip END header not found I'm still new to this modding thing so any help is appreciated! :)
  4. Hi I'm currently working on a mod that adds variants of blocks into MC. My version is 1.16.1 and I'm using Intellij to write my code. Here's the exception: Exception in thread "main" java.lang.NoClassDefFoundError: cpw/mods/modlauncher/Launcher at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) Caused by: java.lang.ClassNotFoundException: cpw.mods.modlauncher.Launcher at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 1 more It only appears in my debug log when I debug-run the runClient configuration, as I cannot find anything in my crash reports folder. There isn't any additional information on it. It's my first mod, so am I doing something wrong? I've already added about 50 blocks, they all work in game, and I've never encountered a crash like this one before. How should I fix it?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.