java.lang.Error : Unresolved compilation problems
java.lang.Error : Unresolved compilation problems
Environment description solution reason
environment
jdk1.8
+ springboot
+ maven
+ ItelliJ IDEA
。
describe
When starting a project, initialize the datasource code> to report an error. The specific error is to say that a
POJO code>
cannot be resolved to a type code>, and repeatedly check that the
POJO code> exists and has been relied on in
POM code>.
A few days ago, it can be started normally. Other colleagues can start normally, and the code has not been modified.
Solution
The search results are generally caused by the inconsistency between the version of JDK code> compiled by
eclipse code> or
idea code> and the version of
JDK code> required by the project. However, the configuration of any development environment has been modified recently. After careful inspection, it is found that the
java complier code> and
Project SDK code> versions are the same.
There is an answer on stackoverflow code> that is to say
MVN clean code> once, try it and find that it can be started successfully
reason
It may be that the previous MVN clean install code> did not have the correct
clean code>, resulting in some compiled codes not being updated.
Read More:
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- Error report in idea compilation Error:Android Dex : [Project] java.lang.OutOfMemoryError : GC overhead limit exceeded
- Android compilation error unresolved reference: kotlinx solution
- java.lang.NoSuchMethodError: org.json.JSONObject.put(Java/lang/String; Java/util/Collection;) “209151;”
- Java: compilation failed: internal java compiler error and invalid source distribution resolution
- Java:Error:Open registry key software \ JavaSoft \ Java Runtime Environment Problems
- Problems encountered in VS2010 compilation
- Java idea Compilation failed: internal java compiler error
- build.gradle Warming: cannot be applied to ‘(groovy.lang.Closure)’/'(java.lang.String)’
- Error: (44,73) lambda expression and XML are not supported in Java: – source 1.7 Error:java : Compilation failed
- When using idea to start a project, an error is reported: Error:java : Compilation failed: internal java compiler error
- Some problems and solutions of Java Web
- [Solved] Sqoop Mysqltohive error: Error: java.lang.RuntimeException: java.lang.RuntimeException…
- Idea error: Java: compilation failed: internal java compiler error
- Idea Tomcat start error Error:java : Compilation failed: internal java compiler error
- Error:java: Compilation failed: internal java compiler error
- Java:java.lang.OutOfMemoryError : GC overhead limit exceeded solution
- Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNot
- Solutions to error: Java: compilation failed: internal java compiler error
- Could not find appears when JDK is configured java.dll Could not find Java se runtime environment problems