Closed Stormur closed 7 months ago
Hi!
Strange error, looks like there is either a problem in your maven configuration or some problems antlr4 (I saw a problem antlr v3 vs. v4 in the trace). Could you tell me which maven you use (mvn --version
) and the contents of
~/.m2/repository/org/antlr/antlr4-maven-plugin
~/.m2/repository/org/antlr/antlr4
and whether is or is not a directory ~/.m2/repository/org/antlr/antlr
. Please check also whether there is an old antlr version somewhere on your machine.
To keep on using the editor, run the compling with mvn install -DskipTests
this skips all the tests and produces the needed jar fileAlso try to delete the ./target
directory, sometimes older stuff in there creates compiling errors (a problem which reoccurs regularly on my machines and for which I have not found yet a solution ....)
OK, so here we go:
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 11.0.21, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: it_IT, platform encoding: UTF-8
OS name: "linux", version: "6.2.0-35-generic", arch: "amd64", family: "unix"
4.13.1 4.9.2
4.13.1 4.9.2
older version: how do I look for that?
repository: it is not there
Also try to delete the
./target
directory, sometimes older stuff in there creates compiling errors (a problem which reoccurs regularly on my machines and for which I have not found yet a solution ....)
This worked!
Good to hear!
I have to check the maven files, since I updated antlr4 recently but mvn install
alone does not recompile the antlr4 files, since they have not changed. I'd like to enforce that without the brutal solution (deleting ./target
or mvn clean
). If you have a solution ...
I pulled the folder to have the new version and then prceeded with
mvn install
as usual. But this time I get these series of errors:What is happening? :thinking: