在tomcat服务器上部署的Web项目

时间:2014-07-21 19:39:07

标签: java tomcat vaadin

我在使用Tomcat 7的默认Vaadin代码上遇到以下错误。

Multiple markers at this line
    - The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
    - The type java.util.function.Consumer cannot be resolved. It is indirectly referenced from 
     required .class files
    - The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

1 个答案:

答案 0 :(得分:1)

java.util.function.Consumer似乎来自Java 8 您是否使用JDK 8部署了应用程序?