2

私は次のコンパイルエラーを与える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();
    }
}
4

2 に答える 2

5

つまり、vaadin ライブラリは、それが何であれ、アプリケーションをコンパイルして実行するときに CLASSPATH に存在する必要があるサードパーティの JAR ファイルに依存していますが、それらは欠落しています。

于 2010-02-10T18:37:25.120 に答える
0

アプリケーションに含まれている Vaadin JAR のバージョンが、使用している Vaadin Eclipse プラグインのバージョンと異なる可能性があります。両方を更新してみてください。

于 2010-02-14T08:16:42.387 に答える