我在使用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
答案 0 :(得分:1)
java.util.function.Consumer
似乎来自Java 8
您是否使用JDK 8部署了应用程序?