Re: Maven Error -- Illegal access exception?
The remedy is install mvn 3.3.9 from 2015 same as NetBeans. instructions : https://www.vultr.com/docs/how-to-install-apache-maven-on-ubuntu-16-04 On 04/01/2020 16:13, Peter L. Berghold wrote: what is Maven on about here? 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 -- www.backbutton.co.uk ¯\_(ツ)_/¯ Marry loose with tight coupling = healthy applications - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Maven Error -- Illegal access exception?
My explanation is relevant to your warnings If for example you create new project -> java with maven -> FXML javafx Maven Archetype (Gluon) -> finish. Then go to properties of that project , select action from categories. scroll down the actions changing them to javafx:run or clean install javafx:run especially where it says something like "com.hose ...exec". Then run from green run arrow at the top menu. You will find the application runs without any warnings or issues. BUT if you run from terminal command line "mvn javafx:run then you will get those same warnings. I believe there is something in NETBEANS IDE which eliminates these warnings. On 04/01/2020 16:13, Peter L. Berghold wrote: what is Maven on about here? 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 -- www.backbutton.co.uk ¯\_(ツ)_/¯ Marry loose with tight coupling = healthy applications - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Maven Error -- Illegal access exception?
what is Maven on about here? 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 -- Peter L. Berghold Professonally: (retired) IT Professional (DevOps, Puppet, Perl...) Advocations: Dog Training, Beer Brewing, BBQ, Cooking - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists