Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Cannot read property 'apply' of undefined
I created a new Vaadin Project using the maven archetype "vaadin-archetype-application". It created a working project with a widgetset and a corresponding "MyAppWidgetset.gwt.xml" in my resources folder which I ignored as everything was working.
Now my I have two problems. The first one seems to be, that my JS-files won't get copied to the target/classes folder automatically. If I modify my pom.xml to add the JS-files as resources, they will be copied to the target/classes root, but not next to the corresponding extension java class in its own package. For now I can help myself by copying them manually, but...
The output looks like this:
I did not create a MyAppWidgetset-0.js file and as far as I know I don't use it and don't want to.
Where do I need to digg to solve this error and make my extension work again? If you need any further information I'd be glad to provide it.