Vaadin Hello World

https://vaadin.com/docs/v10/flow/introduction/tutorial-get-started.html

When following the tutorial,

system gives error cannot resolve symbol for all “@”

@BodySize(height = “100vh”, width = “100vw”) @HtmlImport(“styles.html”) @Route(“”)

using Intellji idea, had downloaded the Flow Skeleton starter app and imported it in the intellji.

Also, any documents/tutorial to use Gradle for the example.

PS: We are new to Vaadin and probably the question may be too naive, however need support

Below are the 4 errors reported

Error:(19, 44) java: package com.vaadin.flow.component.dependency does not exist
Error:(21, 38) java: package com.vaadin.flow.component.page does not exist
Error:(22, 30) java: package com.vaadin.flow.router does not exist
Error:(30, 8) java: cannot access com.vaadin.flow.component.HasOrderedComponents
class file for com.vaadin.flow.component.HasOrderedComponents not found

Hi, I imported a fresh skeleton-starter to IntelliJ and ran mvn clean install, and didn't find any issues. You could try purging your local Maven repository dependencies?



Also for Flow and Gradle, there's at least this example project with Flow, Gradle, and Kotlin: https://github.com/mvysny/karibu10-helloworld-application


  • Katri