paveyry / LyreLand

Music composition AI based on Deep Neural Networks (LSTMs).
http://lyreland.veyry.fr
MIT License
8 stars 6 forks source link

I'm getting an illegal reflective access error, and the compile fails. Please look at the error message included. #3

Open Ray706 opened 5 years ago

Ray706 commented 5 years ago

I'm using Java JDK 11.04, Java 1.8.0_201 on Windows 10 64-bit x64, and Apache Maven 3.6.2.

I'm getting an illegal reflective access error, and the compile fails.

Please let me know what other details you need.

Session information: C:>cd C:\Users\ray\OneDrive\Documents\lyreland install\LyreLand-master

C:\Users\ray\OneDrive\Documents\lyreland install\LyreLand-master>mvn package appassembler:assemble [INFO] Scanning for projects... [INFO] [INFO] -----------------------< com.lyreland:lyreland >------------------------ [INFO] Building LyreLand 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ lyreland --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 42 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ lyreland --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 41 source files to C:\Users\ray\OneDrive\Documents\lyreland install\LyreLand-master\target\classes WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by lombok.javac.apt.LombokProcessor to field com.sun.tools.javac.processing.JavacProcessingEnvironment.processorClassLoader WARNING: Please consider reporting this to the maintainers of lombok.javac.apt.LombokProcessor 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] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 42.005 s [INFO] Finished at: 2019-10-25T03:12:20-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project lyreland: Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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/MojoExecutionException

C:\Users\ray\OneDrive\Documents\lyreland install\LyreLand-master>javac -version javac 11.0.4

C:\Users\ray\OneDrive\Documents\lyreland install\LyreLand-master>java -version java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) Client VM (build 25.201-b09, mixed mode)

C:\Users\ray\OneDrive\Documents\lyreland install\LyreLand-master>mvn -version Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T11:06:16-04:00) Maven home: C:\Program Files\apache-maven-3.6.2\bin.. Java version: 11.0.4, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.4 Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Ray706 commented 5 years ago

I did install git-lfs-windows-v2.9.0 like your instructions on the main page mention.

Maybe the compile failure has to do with references to an assembler plugin? Where do I find that plugin?

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.861 s [INFO] Finished at: 2019-10-25T21:28:26-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'assembler' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\ray.m2\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'assembler' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\ray.m2\repository), central (https://repo.maven.apache.org/maven2)] at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve (DefaultPluginPrefixResolver.java:95) at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix (MojoDescriptorCreator.java:266) at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor (MojoDescriptorCreator.java:220) at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments (DefaultLifecycleTaskSegmentCalculator.java:104) at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments (DefaultLifecycleTaskSegmentCalculator.java:83) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:89) 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] [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/NoPluginFoundForPrefixException

Ray706 commented 5 years ago

Maybe it is because AppAssembler only supports Windows NT, not Windows 9 or above...

From "https://www.mojohaus.org/appassembler/appassembler-maven-plugin/index.html": "Windows NT (Windows 9x is NOT supported)"

Is there another method to assemble the project I could use?

Ray706 commented 4 years ago

Okay, so... I tried running Linux in a VM, but that didn't work, and tried running Linux as a boot, but I gave up on that.

I've formatted an older laptop I had, and installed Ubuntu on it, and installed Java, Apache, and Maven.

I then tried to recompile the master from Github, and I get reflective errors, and I don't think it compiles all the way through.

I also tried running from the copy of release 1 from "https://lyreland.veyry.fr/", but I am not entirely sure how to run the interface... or if it is running correctly, either, as when I try using the sh commands from Github, I get more reflective errors.

Is there a GUI I should be seeing?

Thanks!