Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
VaadinBootstrap.js loading issue
Hello,
I'm new to Vaadin. I am trying to run the VAADIN project from the tutorial https://github.com/vaadin/addressbook and when I execute it, I get a message "Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js?v=7.5.10"
Please advice.
Thank you
have you compiled widgetset successfully?
Hello Aziz, Thanks for the reply. I have added the vaadin maven plugin and did the mvn vaadin:compile and then run it and yet it doesn't work. Ofcourse, I see the components in the browser however, I also see a banner on the top that says "(SyntaxError): expected expression, got '<' - Original JSON-text:html>"
Any suggestions?
could you verfiy if your servlet mapping is correctly done. Please attach your web.xml.
could you please attach a screen shot of the error as well.
Thanks and cheers,
I do not have a web.xml; Code is the exact copy of https://github.com/vaadin/addressbook
No difference.
I the code the ServletMapping is a annotation in AddressbookUI.java
any ideas?
Hi,
I had a similar issue, and it was my app-server running with servlet2.0 specifications (servlet annotation not supported).
In my case it was an old web.xml with 2.0 header.
Could also be you appserver is too old ?
(If running in Eclipse, check demo readme : https://github.com/vaadin/addressbook/blob/master/README.md)
Wich app-server do you use ? Tomcat 8 should be a good start.
Regards
Hello Sebastien, Thanks for the post.
I re-did the code and surprisingly it worked just fine. Perhaps I missed something earlier.