我有以下代码,其中 Eclipse 给出了以下编译错误:
Multiple markers at this line
- The hierarchy of the type TutorialsApplication is inconsistent
- The type com.vaadin.terminal.Terminal$ErrorListener cannot be resolved. It is indirectly referenced
from required .class files
- The type com.vaadin.terminal.URIHandler cannot be resolved. It is indirectly referenced from
required .class files
我的代码是:
package com.example.tutorials;
import com.example.component.Window.HomeWindow;
import com.vaadin.Application;
@SuppressWarnings("serial")
public class TutorialsApplication extends Application {
// @Override
public void init() {
HomeWindow main = new HomeWindow("Welcome to FunFusion Content Management System");
setMainWindow(main);
main.initWindow();
}
}