Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by mtyson
, 1 year ago
java.lang.RuntimeException: Error running mvn init at tech.project.trait.act(act.java:81) at tech.project.admin.action.LastDependendantInvoker.invoke(LastDependendantInvoker.java:23) at tech.project.admin.command.NewAppCommand.execute(NewAppCommand.java:71) at tech.project.admin.command.init.InitCommand.execute(InitCommand.java:33) at tech.project.admin.CLI.main(CLI.java:83)Caused by: java.io.IOException: Cannot run program "mvn.bat" (in directory "c:\Users\Matt\Documents\Projects\foo"): CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at tech.project.trait.act(act.java:75) ... 4 moreCaused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 6 more