Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bakery production packaging has the build directory in the wrong place #802

Open
johannest opened this issue May 27, 2019 · 0 comments
Open

Comments

@johannest
Copy link
Collaborator

Trying Bakery Flow 14.beta2 in production mode with Tomcat IntelliJ plugin (exploded war), separate Tomcat by deploying war, and running war from command line (java -jar -Dvaadin.productionMode ...) all these fail to same annoying issue:
java.lang.IllegalArgumentException: Failed to find the bundle manifest file 'frontend://vaadin-flow-bundle-manifest.json' in the servlet context for 'ES6' browsers. If you are running a dev-mode servlet container in maven e.g. `jetty:run` change it to `jetty:run-exploded`. ...

The root cause of the issue: the build directory is placed into bakery-app-starter-flow-spring-1.0-SNAPSHOT.war\WEB-INF\classes\META-INF\resources\build but it should be placed on the root of the war file.

Workaround: modify war file such that build is in the root of the war file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant