0

I am a new Spring Boot Programmer and I got the below exception while running my spring boot program. I have made a rest controller and method in it.

Cannot run program "--no-update-notifier" (in directory "C:\Users\DEBANJAN KURI\Documents\workspace-spring-tool-suite-4-4.12.0.RELEASE\FirstProj"): CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1142) ~[na:na] at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) ~[na:na] at com.vaadin.flow.server.frontend.TaskRunNpmInstall.runNpmInstall(TaskRunNpmInstall.java:364) ~[flow-server-2.7.2.jar:2.7.2] at com.vaadin.flow.server.frontend.TaskRunNpmInstall.execute(TaskRunNpmInstall.java:137) ~[flow-server-2.7.2.jar:2.7.2] at com.vaadin.flow.server.frontend.NodeTasks.execute(NodeTasks.java:529) ~[flow-server-2.7.2.jar:2.7.2] at com.vaadin.flow.server.startup.DevModeInitializer.initDevModeHandler(DevModeInitializer.java:328) ~[flow-server-2.7.2.jar:2.7.2] at com.vaadin.flow.spring.VaadinServletContextInitializer$DevModeServletContextListener.contextInitialized(VaadinServletContextInitializer.java:440) ~[vaadin-spring-12.4.0.jar:na] at com.vaadin.flow.spring.VaadinServletContextInitializer$CompositeServletContextListener.lambda$contextInitialized$0(VaadinServletContextInitia

eis
  • 51,991
  • 13
  • 150
  • 199
  • You should post your rest controller code as well. – dhakalkumar Jan 02 '22 at 07:42
  • changed the question focus a few times. first I thought it was about the processbuilder, but now looking at the full stack trace, it seems to be vaadin npm task related problem in the app. more information would be needed to reproduce or to comment. – eis Jan 02 '22 at 10:19
  • This might be related: [New Vaadin 14 app fails to run, error "Failed to determine 'node' tool." Missing Node.js and npm tools](https://stackoverflow.com/questions/57502852/new-vaadin-14-app-fails-to-run-error-failed-to-determine-node-tool-missing) – eis Jan 02 '22 at 10:22
  • Please provide enough code so others can better understand or reproduce the problem. – Community Jan 09 '22 at 21:17

0 Answers0