Ao digitar MVNW na pasta de um projeto ele dá este erro Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.7.RELEASE:run (default-cli) on project pregaopresencial: Could not exec java: Cannot run program “C:\Program Files\Java\jdk-11.0.7\bin\java.exe” (in directory “C:\Docker\workspace\principal\pregaopresencial”): CreateProcess error=206, O nome do arquivo ou a extensão é muito grande -> [Help 1]
Não tenho a minima ideia do que pode ser.
[INFO] --- spring-boot-maven-plugin:2.2.7.RELEASE:run (default-cli) @ pregaopresencial --- [INFO] Attaching agents: [] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:08 min [INFO] Finished at: 2020-05-29T08:27:35-03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.7.RELEASE:run (default-cli) on project pregaopresencial: Could not exec java: Cannot run program "C:\Program Files\Java\jdk-11.0.7\bin\java.exe" (in directory "C:\Docker\workspace\principal\pregaopresencial"): CreateProcess error=206, O nome do arquivo ou a extensão é muito grande -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException