Here is where it came up at, looks to be installed in the m2 repository bryan@lm-P50 ~ $ find ~/ -name "failureaccess-*.jar" -type f /home/bryan/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar /home/bryan/.IdeaIC2019.2/system/download-cache/error-prone/2.3.3/failureaccess-1.0.1.jar
Also error-prone jar is in the IntelliJ plugin directory find ~/ -name "error-prone*.jar" -type f /home/bryan/.IdeaIC2019.2/config/plugins/error-prone/lib/error-prone.jar /home/bryan/.IdeaIC2019.2/config/plugins/error-prone/lib/jps/error-prone-jps-plugin.jar On Tue, Feb 4, 2020 at 7:44 AM Andy Grove <andygrov...@gmail.com> wrote: > Actually, central.maven.org doesn't even exist ... > > On Tue, Feb 4, 2020 at 8:28 AM Andy Grove <andygrov...@gmail.com> wrote: > > > Thanks for the help but I followed the same instructions and get this > > error: > > > > Error:Failed to download error-prone compiler JARs: Failed to download ' > > > http://central.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar > > ': > > central.maven.org > > > > The issue is that this maven central no longer supports http and requires > > https. Maybe I could manually install this file somewhere? I did try > > installing in my local m2 repo but that didn't work. > > > > If anyone could scan their local drive for this file and let me know > where > > it is installed that could unblock me. > > > > Thanks, > > > > Andy. > > > > > > > > On Mon, Feb 3, 2020 at 6:24 PM Fan Liya <liya.fa...@gmail.com> wrote: > > > >> I was having the same problem, and it was solved by > >> > >> 1. Install the "Error Prone Compiler" plugin to intellij > >> 2. setting "Settings/Build, Execution, Deployment/Compiler/Java > >> Compiler/Use compiler" to "Javac with error-prone" > >> > >> I am using Intellij 2019.3 (Community Edition) > >> > >> Best, > >> Liya Fan > >> > >> On Tue, Feb 4, 2020 at 7:25 AM Bryan Cutler <cutl...@gmail.com> wrote: > >> > >> > Ahh, now that you sent that link it jogged my memory. A while ago I > >> think I > >> > did see that error and installed the error prone compiler plugin > >> mentioned. > >> > It worked after that I believe, but I am on IntillJ 2019.2.4 on > Ubuntu, > >> and > >> > it was a while ago so maybe something changed. If there is anything I > >> can > >> > check to help you out, let me know. > >> > > >> > On Mon, Feb 3, 2020 at 12:22 PM Andy Grove <andygrov...@gmail.com> > >> wrote: > >> > > >> > > So it turns out there are specific instructions [1] for using > >> errorprone > >> > > with IntelliJ. Unfortunately, this doesn't work due to a bug in > >> IntelliJ > >> > > that was fixed a few days ago but not released yet [2]. > >> > > > >> > > [1] https://errorprone.info/docs/installation > >> > > [2] > >> > > > >> > > > >> > > >> > https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007052380-error-prone-compile-plugin-cant-download-jar > >> > > > >> > > > >> > > > >> > > On Mon, Feb 3, 2020 at 1:10 PM Andy Grove <andygrov...@gmail.com> > >> wrote: > >> > > > >> > > > Hi Bryan, > >> > > > > >> > > > Yes, I tried opening as a Maven project and got the same error. > I'm > >> > using > >> > > > OpenJDK 1.8.0_232 on both Ubuntu 19.04 and macOS 10.14.6 and get > the > >> > same > >> > > > error on both. I'm using IntelliJ Ultimate 2019.3.2. Building from > >> the > >> > > > command line with Maven works fine. > >> > > > > >> > > > Very odd. I'll guess I'll do a little more research on errorprone. > >> > > > > >> > > > Thanks, > >> > > > > >> > > > Andy. > >> > > > > >> > > > > >> > > > On Mon, Feb 3, 2020 at 12:50 PM Bryan Cutler <cutl...@gmail.com> > >> > wrote: > >> > > > > >> > > >> Hi Andy, > >> > > >> What is your JDK version? I haven't seen that exact error, did > you > >> > open > >> > > >> Arrow as a Maven project in Intellij? > >> > > >> > >> > > >> On Mon, Feb 3, 2020 at 7:47 AM Andy Grove <andygrov...@gmail.com > > > >> > > wrote: > >> > > >> > >> > > >> > I'm working on the Java codebase and cannot run code inside > >> IntelliJ > >> > > >> and it > >> > > >> > looks like some kind of compatibility issue between errorprone > >> and > >> > the > >> > > >> JDK > >> > > >> > that IntelliJ is using. I'm hoping other Java committers have > >> found > >> > a > >> > > >> > solution already to this? > >> > > >> > > >> > > >> > Error:java: java.lang.RuntimeException: > >> java.lang.NoSuchMethodError: > >> > > >> > > >> > > >> > > >> > > >> > >> > > > >> > > >> > com.sun.tools.javac.util.JavacMessages.add(Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V > >> > > >> > Error:java: Caused by: java.lang.NoSuchMethodError: > >> > > >> > > >> > > >> > > >> > > >> > >> > > > >> > > >> > com.sun.tools.javac.util.JavacMessages.add(Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V > >> > > >> > Error:java: at > >> > > >> > > >> > > >> > > >> > > >> > >> > > > >> > > >> > com.google.errorprone.BaseErrorProneJavaCompiler.setupMessageBundle(BaseErrorProneJavaCompiler.java:202) > >> > > >> > Error:java: at > >> > > >> > > >> > > >> > > >> > > >> > >> > > > >> > > >> > com.google.errorprone.ErrorProneJavacPlugin.init(ErrorProneJavacPlugin.java:40) > >> > > >> > > >> > > >> > >> > > > > >> > > > >> > > >> > > >