License error

om/licensing-faq-and-troubleshooting.
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 
    ```
I'm getting this error when running ``.\mvnw clean package -Pproduction``. Not sure what license is required. I'm not using any commercial products and the project is a simple starter downloaded from vaadin start page

Did you check this Licenses | Configuration | Vaadin Docs

Starters are set up to use commercial vaadin. In pom.xml you need to switch dependency from vaadin to vaadin-core

Which version of Vaadin are you using? There was a bug in the license checker in 24.0 pre-releases, but it should not be a problem anymore. You should not need to switch to vaadin-core (although you can)

I’m not sure which version it was. But it is definitely V24, I was switching from V24.0.3 to 5 to 6