Issues with Vaadin at startup

Spring 2.x and Vaadin 13 here. I created a GitHub repo to exactly reproduce two issues I’m seeing at app startup [here]
(https://github.com/bitbythecron/vaadin-troubleshooting), but essentially the two issues are:

Exception at startup

At app startup I’m seeing:

21:23:18.655 http-nio-9200-exec-2 [ERROR]
 org.atmosphere.cpr.DefaultAsyncSupportResolver - Real error: Unable to configure jsr356 at that stage. ServerContainer is null
java.lang.IllegalStateException: Unable to configure jsr356 at that stage. ServerContainer is null
	at org.atmosphere.container.JSR356AsyncSupport.<init>(JSR356AsyncSupport.java:53)
	at org.atmosphere.container.JSR356AsyncSupport.<init>(JSR356AsyncSupport.java:42)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

I prefer to use Jetty if at all possible, which is why I specify Jetty in my build.gradle file:

'org.springframework.boot:spring-boot-starter-jetty:2.1.0.RELEASE'

I feel like this exception is coming from something container-related but can’t peg it down, has anyone ever ran into this before?

Vaadin doesn’t want to navigate to the root context ("/")

If you start the app up and go to the root context (http://localhost:9200) in a browser you get a strange error message:

Could not navigate to ''
Reason: Couldn't find route for ''

Available routes:
This detailed message is only shown when running in development mode.

Even though I have a view at that path:

@org.springframework.stereotype.Component
@Route(value = "", layout = LoginLayout.class)
@ParentLayout(LoginLayout.class)
@PageTitle("Login")     // TODO: <--- i18n ???
public class LoginView implements View<LoginPresenter> {
    ...
}

Any ideas where I’m going awry?

Again the GitHub repo reproduces these two issues exactly. Thanks in advance!

I am not expert with Gradle, but it looks like your dependencies to vaadin-spring is missing. You should add the latest version there, otherwise you wont havee websocket end point exporter, and you will see the exception you are seeing now.

Thanks @Tatu,

I do specify the Vaadin Spring Boot dependency here:

https://github.com/bitbythecron/vaadin-troubleshooting/blob/master/build.gradle#L47

Where I’m pulling in 13.0.8. According to Maven that version was published May 2019 and the latest version is 13.0.11. The Vaadin Spring Boot Starter pulls in vaadin-spring-11.0.0 which was published in February 2019.

Something else has to be going on here because this is just basic functionality thats not working here (routing to “”) and Vaadin Spring is absolutely being resolved and included with the project.

I posted the same question over on [StackOverflow]
(https://stackoverflow.com/questions/57270716/possible-vaadin-bug-cannot-navigate-to-root-context-path), hopefully between the two communities we can get to the bottom of this!