Matic
(Matic Petek)
May 26, 2018, 11:40am
1
Hi,
I would like to run https://github.com/vaadin/flow-spring-tutorial as Spring Boot JAR project. Like we did in V8 + Spring Boot 1.5.
Steps :
clone project from github
mvn package
java -jar ./target/flow.tutorial-1.0.0-SNAPSHOT.jar
And then I get an error :
no main manifest attribute, in ./target/flow.tutorial-1.0.0-SNAPSHOT.jar
Regards,
Matic
Matic
(Matic Petek)
May 29, 2018, 8:23am
2
Hi,
I check “Full Stack App with Spring” for V8 and V10.
V8 - https://vaadin.com/docs/v8/bakeryfw8/running-building-packaging.html
“To build the project, the standard mvn install command can be used. This will produce a deployable, self containing jar in the target package”
V10 - https://vaadin.com/docs/v10/bakeryflow/running-building-packaging.html
“After production WAR file is ready it can be deployed on the web container, e.g. Apache Tomcat, WildFly, Jetty.”
Why V10 application are not any more deployable as JAR files? For us this is one of the major feature of Spring Boot - we don’t need app server for every application and development / product environment is the some.
Matic
(Matic Petek)
June 7, 2018, 8:33pm
3