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.
How to separate JavaScript from Java code
Hello Im using Spring boot with vaadin and I want to combine Javascript with Vaadin.
Everything is working when Javascript file is in the same package that Java class in Compilled Code - target package
SO I have to manualy code at targeg package, not in resources :)
I have tried everything - including adding resources from Spring and different paths and always the same error, about bad path.
At the screenshot is my desired configuration. Does anybody knows how to achive it ??
All the best.
AFAIK simply put js_text_label.js file in src/main/resources/com/tech should work
HTH
Marco
Wow, I spent 3 hours on this problem : D
I knew that it cant be hard.
THANK YOU MAN, you made my day.