Vaadin Google App Engine通讯问题

时间:2019-03-03 11:18:37

标签: google-app-engine google-cloud-platform vaadin

我正在尝试使用Google App Engine将一个简单的Vaadin项目部署到Google Cloud Platform,但是在部署之后,我收到以下消息:

this

This is the website.

这是代码:

public class OnePage extends Window{

private static final long serialVersionUID = 1L;
private Grid<Employee> grid = new Grid<>();

public OnePage() {
    HorizontalLayout horizontalLayout_init = new HorizontalLayout();
    horizontalLayout_init.setMargin(true);
    horizontalLayout_init.setSizeFull();
    VerticalLayout layout_1 = new VerticalLayout();
    horizontalLayout_init.addComponent(layout_1);

    //layout for grid
    HorizontalLayout layout_2 = new HorizontalLayout();
    layout_1.addComponent(layout_2);




    //layout_2.addComponent(this.createTable());


    //label text 
    Label insertName = new Label("insert a name");
    insertName.setVisible(true);
    layout_2.addComponent(insertName);

    //label text 
            Label insertName2 = new Label("insert a name");
            insertName2.setVisible(true);
            layout_2.addComponent(insertName2);

            //label text 
            Label insertName3 = new Label("label2");
            insertName3.setVisible(true);
            layout_2.addComponent(insertName3);

    this.setContent(horizontalLayout_init);
    this.setSizeFull();
}

我正在使用vaadin版本8。

0 个答案:

没有答案