JsModule Annotation is not resolved if refering to a file inside a dependency
See original GitHub issueDescription 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
Versions
Vaadin 15
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:47 (22 by maintainers)
Top Results From Across the Web
java - @Value annotation not resolved in a class that belongs ...
I have a simple web-app that includes a dependency jar for some functionality and needs to use a property value defined in main...
Read more >Storing and Loading Resources | Importing JavaScript and ...
The loading order of imported dependencies is only guaranteed for one file type, in one class. Specifically, loading order is not guaranteed ...
Read more >Allure Framework
Allure Framework is a flexible lightweight multi-language test report tool that not only shows a very concise representation of what have ...
Read more >Vaadin 14 - Troubleshooting - Martin Vysny
Sometimes Vaadin 14 fails mysteriously, which is very unfortunate: it now uses LOTS of JavaScript code, frameworks and tools.
Read more >non-js module files deprecate - You.com | The search engine you ...
If I don't add import './display.js', I get this error: Jest failed to parse a file. This happens e.g. when your code or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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.