Hi,
when i deploy to azure i get “no DevModeHandlerManager implementation found but but dev server enabled. Either disable by setting vaadin.frontend.hotdeploy=false (and run the build-frontend maven goal) or include the vaadin-dev-server dependency”
But i have excluded it and the application-azure-test.properties has the entry:
vaadin.productionMode=true
vaadin.frontend.hotdeploy=false
I have excluded dev from production profile in the pom.xml
<profile>
<!-- Production mode is activated using -Pproduction -->
<id>production</id>
<dependencies>
<!-- Exclude development dependencies from production -->
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-core</artifactId>
<exclusions>
<exclusion>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-dev</artifactId>
</exclusion>
<exclusion>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-dev-server</artifactId>
</exclusion>
<exclusion>
<groupId>com.vaadin</groupId>
<artifactId>hilla-dev</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>${vaadin.version}</version>
<executions>
<execution>
<goals>
<goal>build-frontend</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Does anyone has an idea?
Edit: when i add
vaadin.productionMode=true
vaadin.frontend.hotdeploy=false
to application.properties. It starts. But i want to use the application-azure-tst.properties, which is loaded as the log said: : The following 1 profile is active: “azure-test”
Edit Edit:
While i was writing, i figured out i missed a “e” in application-azure-tst.properties
Now it works. So if anyone else has this issue, just check you files names ;)