Skip to content

Include Error Prone Setup for IntelliJ IDEA Setup in README.md #6167

@stephenspol

Description

@stephenspol

There was no mention in the README.md regarding setup for errorprone. This will caused java to throw a java: Compilation failed: internal java compiler error when trying to run code in Intellij.

Stacktrace error message:
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)

Solution:
Include a section in the README discussing the process to setup Error Prone plugin when using Intellij. It did not appear that support for eclipse existed but a section can be added when it is supported.

Solution Link: https://errorprone.info/docs/installation#intellij-idea

I would be more than happy to contribute to this issue.

Metadata

Metadata

Assignees

Labels

P3no SLOtype=documentationDocumentation that is other than for an API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions