Caused by: java.lang.IllegalStateException: Running project in development mode with no access to folder '/mnt/c/dev/clipboardhelper'.
Build project in production mode instead, see https://vaadin.com/docs/v14/flow/production/tutorial-production-mode-basic.html
I’m running v14 compatibity mode on tomcat, is some of that a problem?
Okay, I finally had time to look at this. I cloned the sample project, made sure I don’t have /mnt/c/dev/clipboardhelper in place on my computer, ran mvn jetty:run . Example starts and runs ok. Can you help me further with the example?
Caused by: java.lang.IllegalStateException: Running project in development mode with no access to folder '/mnt/c/dev/clipboardhelper'.
Build project in production mode instead, see https://vaadin.com/docs/v14/flow/production/tutorial-production-mode-basic.html
at com.vaadin.flow.server.DeploymentConfigurationFactory.verifyFolderExists(DeploymentConfigurationFactory.java:397)
at com.vaadin.flow.server.DeploymentConfigurationFactory.readBuildInfo(DeploymentConfigurationFactory.java:201)
at com.vaadin.flow.server.DeploymentConfigurationFactory.createInitParameters(DeploymentConfigurationFactory.java:172)
at com.vaadin.flow.server.DeploymentConfigurationFactory.createPropertyDeploymentConfiguration(DeploymentConfigurationFactory.java:133)
at com.vaadin.flow.server.startup.ServletDeployer$StubServletConfig.createDeploymentConfiguration(ServletDeployer.java:145)
at com.vaadin.flow.server.startup.DevModeInitializer.onStartup(DevModeInitializer.java:180)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5080)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
... 29 more
Yes, when you remove <build> block from pom.xml you get this error. I can send you pom.xml from my primary project if you can tell what could be done to fix this. I know problem is compatibility mode but don’t know how to get it work. Thanks for you effort anyway.
And yes, when I add build block from sample project to my primary project than it fails with npm errors, webpack…