-
-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Trying to make a 'production' version of my program which is running OK in development mode.
Vaadin version 15.
Using vaadin.productionMode=true
in application.properties.
Using mvn clean package -Pproduction
on the command-line.
This produces a jar file, which I then run.
I get the following error message:
Failed to instantiate [com.jimbok8.railmap.RailmapApp]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Couldn't find the definition of the element with tag 'leaflet-map' 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