Vault

Vault

7M Downloads

Local builds are failing

Jack1424 opened this issue ยท 2 comments

commented

Anytime that I try to build Vault on my computer, it fails with the error:

class lombok.javac.apt.Processor (in unnamed module @0x1e9d8137) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x1e9d8137

This error doesn't seem to appear on Travis, though. I don't think that it could be something I'm doing wrong since I've just cloned this repo and run Maven, nothing else.

commented

Are you sure that you cloned this repo and not something else? Because I do not think that Vault uses lombok

commented

It looks like Intellij decided that Java 18 was the correct version for Vault. If I actually use the correct version, it builds ok. I also tested it in normal Ubuntu and it built okay too. I don't know why using the wrong Java version would cause that error.