문제

다음과 같은 코드가 있습니다.

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 라이브러리는 무엇이든간에 일부 타사 JAR 파일 또는 파일에 따라 달라집니다.이 파일은 응용 프로그램을 컴파일하고 실행할 때 클래스 경로에 있어야하지만 누락 된 누락 된 것입니다.

다른 팁

아마도 당신은 당신이 사용중인 vaadin eclipse 플러그인 버전과 동일하지 않은 응용 프로그램에 포함 된 Vaadin Jar 버전을 가지고있을 것입니다. 노력하다 업데이트 둘 다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top