I follow the Getting Started with Java on Heroku guide at https://devcenter.heroku.com/articles/getting-started-with-java I follow the steps until I deploy and run the application downloaded from GitHub . When I try to execute it locally in Windows XP using the command
foreman start web
I get an error message:
web.1 | started with pid 3388 web.1 | Error: Could not find or load main class Main web.1 | exited with code 1 system | sending SIGKILL to all processes
My Procfile:
web: java %JAVA_OPTS% -cp target\classes:target\dependency\* Main
and
>echo %JAVA_OPTS% -Xms256m -Xmx512m
Can someone suggest me how to solve?
source share