-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up autodeployments to Heroku for tests #22
Comments
@Orbiter @sudheesh001 @daminisatya I am trying to deploy this project on heroku but I get this error when run on heroku local web |
This is because the jar file seems to not point correctly to the Main-Class that needs to be executed. In the gradle , during jar generation task, I think it'll fix itself by adding a
|
@sudheesh001 I will try adding this to |
@sudheesh001 now I am facing this issue, |
@daminisatya later I tried making a fat jar as I read that we have to create fatjar to pack dependencies. following https://stackoverflow.com/questions/4871656/using-gradle-to-build-a-jar-with-dependencies but Now I am facing this issue |
Class not found errors are happening because it looks like the corresponding class files aren't available in the jar files. The way to avoid that is by creating a fat jar which has all the dependencies. So you're on the right track. Can you extract the jar file and see if it contains the MCP.class in it? |
Interesting, @Orbiter any reason you see here as to why the jar isn't running. |
Testing the app is important. Please set up autodeployments on each PR to Heroku.
The text was updated successfully, but these errors were encountered: