M
M
Maks Burkov2016-11-10 16:32:31
Java
Maks Burkov, 2016-11-10 16:32:31

Why does the compiler version go astray on every new dependency import via Maven or IDEA reload?

Hello!
Today I began to receive incomprehensible compilation errors with the above described algorithm of actions.
Who faced such a problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Ne-Lexa, 2016-11-10
@Maks00088

In pom.xml add properties

<properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
</properties>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question