We help IT Professionals succeed at work.
Get Started

Heroku & Maven & Java dynamic web project

350 Views
Last Modified: 2016-03-06
Hi Experts,

I created a new java dynamic web project and got it going.  Now I'm trying to deploy to Heroku.

It's saying "Push rejected, failed to detect set buildpack heroku/java" when I "git push heroku master".

I assume it's because I don't have a pom.xml file and I'm not using Maven.  All I know about Mavan is it's something that helps build webapps.

I think these are my options to get this working:
- deploy Heroku's sample application and pull stuff out of my app and insert it into the sample app (that I'm able to deploy)
- fix my webapp to work with Heroku.

What's my best option - or if you can give further pointers, I'd very much appreciate!

Thanks!
Mike
Comment
Watch Question
IT Business Systems Analyst / Software Developer
CERTIFIED EXPERT
Top Expert 2015
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE