I am a new user too Vaadin.
I have installed Grails 3.1.6 and the grails vaadin plugin at https://github.com/vaadin-for-grails/grails3-vaadin7-plugin and followed the instructions there.
I have edited the IndexView.groovy file located in src/main/groovy/com.key2publish/ like so:
package com.key2publish
import com.vaadin.navigator.View
import com.vaadin.navigator.ViewChangeListener
import com.vaadin.ui.CustomComponent
import com.vaadin.ui.Label
import com.vaadin.ui.VerticalLayout
import com.vaadin.ui.*
class IndexView extends CustomComponent implements View {
IndexView() {
def root = new VerticalLayout()
// Add your code here
def myLabel = new Label(“help”)
root.addComponent(myLabel)
root.setMargin(true)
compositionRoot = root
}
@Override
void enter(ViewChangeListener.ViewChangeEvent event) { }
}
The result I expect when going to localhost:8080/vaadin is that a label with “help” would appear,
but I get a loading icon with a green bar running in the top of the screen. Then the page turns blank and stays blank. Without displaying the label
I am working with IntelliJ IDE 2016.3.3 Could anyone tell me what I might have done wrong?
Since I don’t get an error message in IntelliJ whatsoever. It compiles and runs ok.