1、今天遇到了Target runtime Apache Tomcat v6.0 is not defined错误。经过一番折腾,发现了问题所在
解决办法如下:
项目–属性–targeted runtime,把原项目的tomcat去掉勾选…
亲测成功
2、Syntaxerror, parameterized types are only available if source level is 1.5
的解决办法在弹出对话框中 ,在左侧列表框中 选择 "JAVA" ---子菜单中 "compiler" ...然后在右侧把 "Compiler compliance level" 设置成5.0以上 即可。
听过许多故事,见过旅行风景,就这样,