Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MC 1.16.4] {minecrack-biome-java.jar} Cannot load Minecraft: unable to create local minecraft interface #4

Open
ASchneider-GitHub opened this issue Jan 16, 2021 · 1 comment

Comments

@ASchneider-GitHub
Copy link

Attempting to use minecrack-biome-java.jar with MC v1.16.4 results in the console throwing this error:
Cannot load Minecraft: unable to create local minecraft interface

This looks like an issue with Amidst. The version in pom.xml is listed as v4.3, but the newest version is v4.6. Can I point the make file to the newest version of Amidst's src somehow?

@ASchneider-GitHub
Copy link
Author

ASchneider-GitHub commented Jan 16, 2021

Update: Changing JitPack's target version in ./minecrack/biome-java.pom.xml from v4.3 to v4.6 grabs the newest version of Amidst, but causes three compilation errors when it comes to building minecrack-biome-java.jar. Added the flag -e to mvn package in ./minecrack/biome-java/CMakeLists.txt to give a more verbose stacktrace. Crashlog as seen in Terminal shown below:

user@Debian:$HOME/minecrack/build$ make
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   program_options
-- Configuring done
-- Generating done
-- Build files have been written to: $HOME/minecrack/build
[ 30%] Built target minecrack-slime
[ 60%] Built target cubiomes
[ 90%] Built target minecrack-biome
[100%] Generating minecraft-biome-java.jar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] --------------< com.pisto.minecrack:minecrack-biome-java >--------------
[INFO] Building minecrack-biome-java 0.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ minecrack-biome-java ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory $HOME/minecrack/biome-java/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ minecrack-biome-java ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to $HOME/minecrack/build/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[INFO] 1 warning
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] $HOME/minecrack/biome-java/src/main/java/com/pisto/BiomeSeedTest.java:[272,31] cannot find symbol
  symbol:   method getBiomeData(int,int,int,int,boolean)
  location: variable mc of type amidst.mojangapi.minecraftinterface.MinecraftInterface
[ERROR] $HOME/minecrack/biome-java/src/main/java/com/pisto/BiomeSeedTest.java:[335,94] incompatible types: java.lang.String cannot be converted to java.nio.file.Path
[ERROR] $HOME/minecrack/biome-java/src/main/java/com/pisto/BiomeSeedTest.java:[344,30] cannot find symbol
  symbol:   method getBiomeData(int,int,int,int,boolean)
  location: interface amidst.mojangapi.minecraftinterface.MinecraftInterface
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.053 s
[INFO] Finished at: 2021-01-16T12:37:19-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project minecrack-biome-java: Compilation failure: Compilation failure:
[ERROR] $HOME/minecrack/biome-java/src/main/java/com/pisto/BiomeSeedTest.java:[272,31] cannot find symbol
[ERROR]   symbol:   method getBiomeData(int,int,int,int,boolean)
[ERROR]   location: variable mc of type amidst.mojangapi.minecraftinterface.MinecraftInterface
[ERROR] $HOME/minecrack/biome-java/src/main/java/com/pisto/BiomeSeedTest.java:[335,94] incompatible types: java.lang.String cannot be converted to java.nio.file.Path
[ERROR] $HOME/minecrack/biome-java/src/main/java/com/pisto/BiomeSeedTest.java:[344,30] cannot find symbol
[ERROR]   symbol:   method getBiomeData(int,int,int,int,boolean)
[ERROR]   location: interface amidst.mojangapi.minecraftinterface.MinecraftInterface
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project minecrack-biome-java: Compilation failure
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:858)
    at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:129)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
make[2]: *** [biome-java/CMakeFiles/minecraft-biome-java.dir/build.make:61: biome-java/minecraft-biome-java.jar] Error 1
make[1]: *** [CMakeFiles/Makefile2:220: biome-java/CMakeFiles/minecraft-biome-java.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant