Vaadin 7 Spring security problem

I’m trying to configure Spring Security + Vaadin4Spring together with my Vaadin 7 application.

I have following code:

pom.xml security related dependencies:


My MainUI class definition:

public class MainUI extends UI {

and Application class

@PropertySource(value = "")
public class Application extends GlobalMethodSecurityConfiguration {

    public static void main(String[] args) throws Exception {, args);

    protected void configure(AuthenticationManagerBuilder auth) throws Exception {


Right now when I’m trying to access http://localhost:8080/ I have following error message:


Problem accessing /error. Reason:Request was not handled by any registered handler.Powered by Jetty://

What I’m doing wrong ? Please help me, I’m stuck on this the second day :frowning: Without Spring security my application works perfectly, but without security it’s doesn’t have a big sense… Thanks!