flow: JsModule Annotation is not resolved if refering to a file inside a dependency

Description of the bug

When using Vaadin 15, the defined resouces using the @JsModule Annotation cannot be resolved at runtime, if the resource is inside an addon dependency.

I have some users having issues when using some of my addons in combination with Vaadin 15.

While everything worked under Vaadin 14 it seems no longer to work under Vaadin 15.

One user hits this issue on Tomcat, another on Spring-boot.

Minimal reproducible example with Spring Boot

Example project

Versions

Vaadin 15

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 47 (22 by maintainers)

Most upvoted comments

Hi @appreciated @mvdberge @hfffranzin The fix is now in 15.0.5, you can give it a try and let us know if it works for you.

I reported a similar issue (#6069) for Vaadin 14 and it was resolved. However, with Vaadin 15, the same code is not working.