質問

私は、次のコンパイルエラーを与える日食そのためのコードを次ています:

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ファイルまたはファイルに依存していますが、不足しているしているいることを意味します。

他のヒント

おそらく、あなたは、あなたが使用しているVaadin Eclipseプラグインのバージョンと同じではありません、あなたのアプリケーションに含まVaadinのJARのバージョンを持っています。 の両方を更新してみます。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top