代码之家  ›  专栏  ›  技术社区  ›  GuruKulki

eclipse IDE中java程序的编译错误

  •  2
  • GuruKulki  · 技术社区  · 15 年前

    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();
        }
    }
    
    2 回复  |  直到 10 年前
        1
  •  5
  •   Jonathan Feinberg    15 年前

    这意味着vaadin库,不管它是什么,都依赖于一些第三方JAR文件,这些文件在编译和运行应用程序时必须出现在类路径中,但却丢失了。

        2
  •  0
  •   Daniel    15 年前

    也许您的应用程序中包含的vaadinjar版本与您正在使用的vaadineclipse插件版本不同。 尝试 updating