java - Heroku Webapp CRASHING when process type is configured in pom.xml -
i creating web service , using embedded tomcat in application. this, i've implemented main class(main.java) tomcat server instance created.
now deploying application on heroku, using maven plugin. in configuration tag i've given process type as:
<processtypes> <web>java $java_opts -cp target/classes:target/dependency/* main</web> </processtypes> when deployed, app crashed saying main class not found, i've kept main.java in root directory.do need make changes in command?
it looks main.java not in maven src directory. doubt it's being compiled maven (but eclipse compile it).
try moving main.java file src/main/java directory.

Comments
Post a Comment