Answer the question
In order to leave comments, you need to log in
How to build a finished project in maven?
There is a ready project, apparently written through eclipse. I added the project to the intellij idea, Java 11 is specified everywhere in the configs. The project contains configs for building in maven, in general, I specified all the paths and initiated the build. The assembly is successful, but when I try to run the compiled program itself, an error occurs:
I can’t understand where version 1.8.0 comes from, if it is absolutely nowhere + the project does not refer to it anywhere. What could be the problem?
Answer the question
In order to leave comments, you need to log in
It is worth distinguishing a compiler from a virtual machine. Your JDK may be version 11, and JRE 8. And the JRE is out of order, it looks like a version conflict.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question