Such problems are most irritating, a negligence will waste a lot of time to the investigation, the following are examples of problems I encountered:
1. The code error (wrong version)
But after constantly confirmed, jdk version is not really a problem.
2. Check one project load jdk version in the ide
Version no problem, but found the wrong place, jdk package should be loaded first, then business needs to load jar package, otherwise there will be a code in this package should refer to the jdk, but they cited the business class jar package, so we want to jdk above mentioned jar package service, as follows:
Such errors in the code will disappear