Code True, but jsp page always appears red cross
After the MyEclipse project to import, java classes are always reported more than n red cross, it is appalling, String can not be resolved to a type are out,
Thought it was Myeclipse thing, but there are still problems found after the restart, then search the Internet, said to be the result of problems JDK
Solution:
Right Project: properties-java build path- Libraries
Find JRE System Library, found JRE System Library 1.7 followed unbond,
Click edit, alternate jre select JDK installation path. In this way, the problem is solved
Original link https://www.cnblogs.com/lzb1991/p/5800886.html