Are you compiling the application using Java 9? If so, you might have run into this issue [WFLY-9961] [JDK9+] @WebListener and Spring WebApplicationInitializer not working (JDK8 OK!) - JBoss Issue Tracker
Hello. Yes, that seems to be the same issue. I used Java 8 to compile and Java 9 to start the application and it started successfully.
I will wait for the fix.