Gur*_*lki 2 java web-applications vaadin
我有以下代码,其中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
Run Code Online (Sandbox Code Playgroud)
我的代码是:
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();
}
}
Run Code Online (Sandbox Code Playgroud)
这意味着vaadin库,无论它是什么,都依赖于某些第三方JAR文件或文件,当您编译和运行应用程序时,这些文件或文件必须存在于您的CLASSPATH中,但是您缺少这些文件或文件.