ClassNotFoundException after running heroku local web; unsure what to include in Procfile?

Viewed 54

My Procfile looks like this:

web: java $JAVA_OPTS -cp target/classes:target/dependency/* com.Main

My directory structure looks like this: src/java/com/Main.java. I'm not even sure how to change my Procfile so it works correctly. The ClassNotFoundException emerges when I run [heroku local web]. Any tips on how to fix? Thank you.

0 Answers
Related