Javaプログラム用のEclipse IDEでのコンパイルエラー
-
19-09-2019 - |
質問
私は、次のコンパイルエラーを与える日食そのためのコードを次ています:
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();
}
}
解決
それはそれが何であれvaadinライブラリは、あなたがアプリケーションをコンパイルして実行すると、あなたのCLASSPATH内に存在しなければならないいくつかのサードパーティのJARファイルまたはファイルに依存していますが、不足しているしているいることを意味します。
所属していません StackOverflow