Eclipse的JSP頁麵提示Multiple annotations found at this line或者String cannot be resolved to a type
最終原因:
1.window-->preferences-->java-->Installed JREs-->Add 增加你要用的jdk
2.window-->preferences-->java-->compiler,將level選為對應的版本,1.5的就選5.0,1.6的選6.0
將JDK還有apache和別人不兼容的版本改下配置
接下來最簡單的操作,對著原來的JSP頁麵可以ctrl+A 、ctrl+x、ctrl+v 就不會報錯了
最後更新:2017-04-03 22:15:45