-
-
Notifications
You must be signed in to change notification settings - Fork 13
Spring boot war #294
Comments
Any comment why war/jar doesn't work? |
Hi, could you try the latest beta version and see if you still get the same? (1.3.beta6) |
Hi, same exception come with 1.3.beta6 plugins { apply from: 'C:/gradle-vaadin-flow/local.plugin' sourceCompatibility = 11.0 vaadin { vaadin.autoconfigure() dependencies { |
Hi John, I 've made some comments in your #240 some monthes ago. We are still in dev-mode. So packaging is not yet a priority. Anyway we keep an eye to your plugin. (but we a Maven comeback is still an option). Today I gave a try to your latest version 1.3.1. With Maven I can do without problem With gradle there is problem with Be sure that we will pay the plugin if it is useable. Franck |
Hi @flefebure There was just some small changes that needed to be done, so I created a PR to fix your issues with your example Gradle project (flefebure/flow-spring-examples#1). Since the project is using the NPM you will need a PRO subscription to build it. |
Thanks for your quick answer, Yeah we are going to buy the pro Just a question, I saw you moved the resources in src/main/[javascript|stylesheets] Actually, we are working using the embedded vaadin "webpack-dev-server" You can try it by yourself by running "TutorialApplication" directly in Idea/Eclipse compare the current trunk with before the pr merge |
I created vaadin 14 project with productionMode true and compatibilityMode false. When I run bootRun gradle task or run project in eclipse with spring tool suite 4 everything works fine. But when I build project and run war in command line I get this error
2019-10-19 12:07:56.510 ERROR 14032 --- [nio-8080-exec-6] c.v.flow.server.DefaultErrorHandler
java.lang.IllegalStateException: Couldn't find the definition of the element with tag 'hello-button' in any template file declared using '@jsmodule' annotations. Check the availability of the template files in your WAR file or provide alternative implementation of the method getTemplateContent() which should return an element representing the content of the template file
Is this bug in plugin or what I do wrong?
The text was updated successfully, but these errors were encountered: