pom.xml and web.xml not configured properly for herokuPermission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedlyHow to link a folder with an existing Heroku appWhy do people use Heroku when AWS is present? What distinguishes Heroku from AWS?Heroku truncates HTTP responses?Trouble with heroku webapp-runner launching warRoR Deployment to heroku gone wrong, rake db:migrate won't workRunning Spring app built with gradle on HerokuStrongloop deploy to Heroku doesn't workDeploying Rails App on heroku Get path errorHow to fix Heroku error: App crashed; Process exited with status 1

How do professional electronic musicians/sound engineers combat listening fatigue?

What do teaching faculty do during semester breaks?

Using "Kollege" as "university friend"?

Are there any examples of technologies have been lost over time?

Why is a dedicated QA team member necessary?

Reduce column width of table while also aligning values at decimal point

What is the lowest-speed bogey a jet fighter can intercept/escort?

What exactly makes a General Products hull nearly indestructible?

Spoken encryption

This message is flooding my syslog, how to find where it comes from?

Creating Darkness

Automatic Habit of Meditation

Why did Saturn V not head straight to the moon?

(1 of 11: Numberlink) What is Pyramid Cult's Favorite Activity?

Send a single HTML email from Thunderbird, overriding the default "plain text" setting

Is it normal practice to screen share with a client?

How can I receive packages while in France?

How important is a good quality camera for good photography?

Which Roman general was killed by his own soldiers for not letting them to loot a newly conquered city?

Is there a reason why I should not use the HaveIBeenPwned API to warn users about exposed passwords?

401(k) investment after being fired. Do I own it?

Does academia have a lazy work culture?

Why was Sauron not trying to find the Ring, and instead of preparing for war?

What does "see" in "the Holy See" mean?



pom.xml and web.xml not configured properly for heroku


Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedlyHow to link a folder with an existing Heroku appWhy do people use Heroku when AWS is present? What distinguishes Heroku from AWS?Heroku truncates HTTP responses?Trouble with heroku webapp-runner launching warRoR Deployment to heroku gone wrong, rake db:migrate won't workRunning Spring app built with gradle on HerokuStrongloop deploy to Heroku doesn't workDeploying Rails App on heroku Get path errorHow to fix Heroku error: App crashed; Process exited with status 1






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I've been trying to deploy a simple eclipse jee dynamic web app to heroku for the last 5 days. I'm going crazy trying to get this to work. I'm not sure but I think the problem(s) are in my pom.xml and/or web.xml files.



The project can be found on github HERE



I've read article after article and have researched Stackoverflow extensively. Would greatly appreciate it if someone could look at the project and help configure these files correctly.



here's the output from eclipse:



[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------< VT5:VT5 >-------------------------------
[INFO] Building VT5 0.0.1-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] >>> heroku-maven-plugin:2.0.7:deploy-war (default-cli) > package @ VT5 >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ VT5 ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:UserssaltydoggitrepositoryVT5VT5srcmainresources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ VT5 ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ VT5 ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:UserssaltydoggitrepositoryVT5VT5srctestresources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ VT5 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ VT5 ---
[INFO]
[INFO] --- maven-war-plugin:3.2.1:war (default-war) @ VT5 ---
[INFO] Packaging webapp
[INFO] Assembling webapp [VT5] in [C:UserssaltydoggitrepositoryVT5VT5targetVT5-0.0.1-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [C:UserssaltydoggitrepositoryVT5VT5WebContent]
[INFO] Webapp assembled in [197 msecs]
[INFO] Building war: C:UserssaltydoggitrepositoryVT5VT5targetVT5-0.0.1-SNAPSHOT.war
[INFO]
[INFO] <<< heroku-maven-plugin:2.0.7:deploy-war (default-cli) < package @ VT5 <<<
[INFO]
[INFO]
[INFO] --- heroku-maven-plugin:2.0.7:deploy-war (default-cli) @ VT5 ---
[WARNING] The <processTypes> value will be ignored when deploying a WAR file. Use `heroku:deploy` goal for custom processes.
[INFO] Configured Artifact: com.github.jsimone:webapp-runner:8.5.38.0:jar
[INFO] com.github.jsimone:webapp-runner:8.5.38.0:jar already exists in C:UserssaltydoggitrepositoryVT5VT5targetdependency
[INFO] -----> Packaging application...
[INFO] - app: vt5-1
[INFO] - including: target/dependency/webapp-runner.jar
[INFO] - including: target/VT5-0.0.1-SNAPSHOT.war
[INFO] -----> Creating build...
[INFO] - file: target/heroku/build.tgz
[INFO] - size: 22MB
[INFO] -----> Uploading build...
[INFO] - success
[INFO] -----> Deploying...
[INFO] remote:
[INFO] remote: -----> heroku-maven-plugin app detected
[INFO] remote: -----> Installing JDK 1.8... done
[INFO] remote: -----> Discovering process types
[INFO] remote: Procfile declares types -> web
[INFO] remote:
[INFO] remote: -----> Compressing...
[INFO] remote: Done: 72.6M
[INFO] remote: -----> Launching...
[INFO] remote: Released v4
[INFO] remote: https://vt5-1.herokuapp.com/ deployed to Heroku
[INFO] remote:
[INFO] -----> Done
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.823 s
[INFO] Finished at: 2019-03-26T17:15:10-04:00
[INFO] ------------------------------------------------------------------------


here's the output from heroku logs --tail



C:UserssaltydoggitrepositoryVT5>heroku logs --tail
2019-03-26T21:07:59.897975+00:00 app[api]: Initial release by user rsxxx@gmail.com
2019-03-26T21:07:59.897975+00:00 app[api]: Release v1 created by user rsxxx@gmail.com
2019-03-26T21:07:59.990666+00:00 app[api]: Release v2 created by user rsxxx@gmail.com
2019-03-26T21:07:59.990666+00:00 app[api]: Enable Logplex by user rsxxx@gmail.com
2019-03-26T21:10:07.000000+00:00 app[api]: Build started by user rsxxx@gmail.com
2019-03-26T21:10:18.657266+00:00 app[api]: Deploy fa86bfdd by user rsxxx@gmail.com
2019-03-26T21:10:18.670130+00:00 app[api]: Scaled to web@1:Free by user rsxxx@gmail.com
2019-03-26T21:10:18.657266+00:00 app[api]: Release v3 created by user rsxxx@gmail.com
2019-03-26T21:10:19.000000+00:00 app[api]: Build succeeded
2019-03-26T21:10:22.350893+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar target/dependency/webapp-runner.jar $WEBAPP_RUNNER_OPTS --port 13062 target/VT5-0.0.1-SNAPSHOT.war`
2019-03-26T21:10:24.024048+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2019-03-26T21:10:24.031319+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2019-03-26T21:10:24.931432+00:00 app[web.1]: Expanding VT5-0.0.1-SNAPSHOT.war into /app/target/tomcat.13062/webapps/expanded
2019-03-26T21:10:24.931593+00:00 app[web.1]: Adding Context for /app/target/tomcat.13062/webapps/expanded
2019-03-26T21:10:25.752672+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.coyote.AbstractProtocol init
2019-03-26T21:10:25.752692+00:00 app[web.1]: INFO: Initializing ProtocolHandler ["http-nio-13062"]
2019-03-26T21:10:25.793058+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
2019-03-26T21:10:25.793067+00:00 app[web.1]: INFO: Using a shared selector for servlet write/read
2019-03-26T21:10:25.851354+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.catalina.core.StandardService startInternal
2019-03-26T21:10:25.851358+00:00 app[web.1]: INFO: Starting service [Tomcat]
2019-03-26T21:10:25.855328+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.catalina.core.StandardEngine startInternal
2019-03-26T21:10:25.855332+00:00 app[web.1]: INFO: Starting Servlet Engine: Apache Tomcat/8.5.38
2019-03-26T21:10:26.160579+00:00 app[web.1]: Mar 26, 2019 9:10:26 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
2019-03-26T21:10:26.160603+00:00 app[web.1]: INFO: No global web.xml found
2019-03-26T21:10:26.498285+00:00 heroku[web.1]: State changed from starting to up
2019-03-26T21:10:29.172266+00:00 app[web.1]: Mar 26, 2019 9:10:29 PM org.apache.jasper.servlet.TldScanner scanJars
2019-03-26T21:10:29.172281+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2019-03-26T21:10:29.308705+00:00 app[web.1]: Mar 26, 2019 9:10:29 PM org.apache.coyote.AbstractProtocol start
2019-03-26T21:10:29.308709+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-13062"]
2019-03-26T21:10:41.299385+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=d09841f4-a111-4175-a680-bcc97a0a655f fwd="71.184.149.223" dyno=web.1 connect=0ms service=52ms status=404 bytes=1230 protocol=https
2019-03-26T21:10:42.738199+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=vt5-1.herokuapp.com request_id=40566c4b-9386-43e6-9a61-32e298be15f5 fwd="71.184.149.223" dyno=web.1 connect=0ms service=3ms status=404 bytes=1241 protocol=https
2019-03-26T21:14:55.000000+00:00 app[api]: Build started by user rsxxx@gmail.com
2019-03-26T21:15:07.603846+00:00 heroku[web.1]: Restarting
2019-03-26T21:15:07.608892+00:00 heroku[web.1]: State changed from up to starting
2019-03-26T21:15:07.244261+00:00 app[api]: Release v4 created by user rsxxx@gmail.com
2019-03-26T21:15:07.244261+00:00 app[api]: Deploy d20122bb by user rsxxx@gmail.com
2019-03-26T21:15:07.000000+00:00 app[api]: Build succeeded
2019-03-26T21:15:08.623952+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2019-03-26T21:15:08.638326+00:00 app[web.1]: Mar 26, 2019 9:15:08 PM org.apache.coyote.AbstractProtocol pause
2019-03-26T21:15:08.638371+00:00 app[web.1]: INFO: Pausing ProtocolHandler ["http-nio-13062"]
2019-03-26T21:15:09.063952+00:00 heroku[web.1]: Process exited with status 143
2019-03-26T21:15:11.373049+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar target/dependency/webapp-runner.jar $WEBAPP_RUNNER_OPTS --port 35070 target/VT5-0.0.1-SNAPSHOT.war`
2019-03-26T21:15:13.737687+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2019-03-26T21:15:13.749340+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
2019-03-26T21:15:15.042221+00:00 app[web.1]: Expanding VT5-0.0.1-SNAPSHOT.war into /app/target/tomcat.35070/webapps/expanded
2019-03-26T21:15:15.042349+00:00 app[web.1]: Adding Context for /app/target/tomcat.35070/webapps/expanded
2019-03-26T21:15:16.148030+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.coyote.AbstractProtocol init
2019-03-26T21:15:16.148042+00:00 app[web.1]: INFO: Initializing ProtocolHandler ["http-nio-35070"]
2019-03-26T21:15:16.190235+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
2019-03-26T21:15:16.190239+00:00 app[web.1]: INFO: Using a shared selector for servlet write/read
2019-03-26T21:15:16.254179+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.core.StandardService startInternal
2019-03-26T21:15:16.254183+00:00 app[web.1]: INFO: Starting service [Tomcat]
2019-03-26T21:15:16.258587+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.core.StandardEngine startInternal
2019-03-26T21:15:16.258591+00:00 app[web.1]: INFO: Starting Servlet Engine: Apache Tomcat/8.5.38
2019-03-26T21:15:16.864005+00:00 heroku[web.1]: State changed from starting to up
2019-03-26T21:15:16.736837+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
2019-03-26T21:15:16.736850+00:00 app[web.1]: INFO: No global web.xml found
2019-03-26T21:15:21.020761+00:00 app[web.1]: Mar 26, 2019 9:15:21 PM org.apache.jasper.servlet.TldScanner scanJars
2019-03-26T21:15:21.020783+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2019-03-26T21:15:21.164841+00:00 app[web.1]: Mar 26, 2019 9:15:21 PM org.apache.coyote.AbstractProtocol start
2019-03-26T21:15:21.164845+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-35070"]
2019-03-26T21:15:21.622631+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=ca93822e-6564-4abc-8c1d-26a201568b82 fwd="71.184.149.223" dyno=web.1 connect=1ms service=416ms status=404 bytes=1230 protocol=https
2019-03-26T21:15:24.692620+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=0940932c-e4bc-4e64-a77f-958c5b2a853d fwd="71.184.149.223" dyno=web.1 connect=1ms service=10ms status=404 bytes=1230 protocol=https
2019-03-26T21:15:26.446183+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=10f92084-bf5e-45ad-b4c8-1910e6d15c50 fwd="71.184.149.223" dyno=web.1 connect=1ms service=18ms status=404 bytes=1230 protocol=https


here's the web.xml file:



<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>VT5</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<description></description>
<display-name>VT5</display-name>
<servlet-name>VT5</servlet-name>
<servlet-class>VT5</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>VT5</servlet-name>
<url-pattern>/VT5</url-pattern>
</servlet-mapping>
</web-app>


and finally here's the pom.xml file:



<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>VT5</groupId>
<artifactId>VT5</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<version>9.4.7.v20170914</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<warSourceDirectory>WebContent</warSourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>com.heroku.sdk</groupId>
<artifactId>heroku-maven-plugin</artifactId>
<version>2.0.7</version>
<configuration>
<appName>vt5-1</appName>
<processTypes>
<web>java $JAVA_OPTS -cp target/classes:target/dependency/* VT5</web>
</processTypes>
</configuration>
</plugin>
</plugins>
</build>
</project>









share|improve this question






























    0















    I've been trying to deploy a simple eclipse jee dynamic web app to heroku for the last 5 days. I'm going crazy trying to get this to work. I'm not sure but I think the problem(s) are in my pom.xml and/or web.xml files.



    The project can be found on github HERE



    I've read article after article and have researched Stackoverflow extensively. Would greatly appreciate it if someone could look at the project and help configure these files correctly.



    here's the output from eclipse:



    [INFO] Scanning for projects...
    [INFO]
    [INFO] ------------------------------< VT5:VT5 >-------------------------------
    [INFO] Building VT5 0.0.1-SNAPSHOT
    [INFO] --------------------------------[ war ]---------------------------------
    [INFO]
    [INFO] >>> heroku-maven-plugin:2.0.7:deploy-war (default-cli) > package @ VT5 >>>
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ VT5 ---
    [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
    [INFO] skip non existing resourceDirectory C:UserssaltydoggitrepositoryVT5VT5srcmainresources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ VT5 ---
    [INFO] Nothing to compile - all classes are up to date
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ VT5 ---
    [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
    [INFO] skip non existing resourceDirectory C:UserssaltydoggitrepositoryVT5VT5srctestresources
    [INFO]
    [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ VT5 ---
    [INFO] No sources to compile
    [INFO]
    [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ VT5 ---
    [INFO]
    [INFO] --- maven-war-plugin:3.2.1:war (default-war) @ VT5 ---
    [INFO] Packaging webapp
    [INFO] Assembling webapp [VT5] in [C:UserssaltydoggitrepositoryVT5VT5targetVT5-0.0.1-SNAPSHOT]
    [INFO] Processing war project
    [INFO] Copying webapp resources [C:UserssaltydoggitrepositoryVT5VT5WebContent]
    [INFO] Webapp assembled in [197 msecs]
    [INFO] Building war: C:UserssaltydoggitrepositoryVT5VT5targetVT5-0.0.1-SNAPSHOT.war
    [INFO]
    [INFO] <<< heroku-maven-plugin:2.0.7:deploy-war (default-cli) < package @ VT5 <<<
    [INFO]
    [INFO]
    [INFO] --- heroku-maven-plugin:2.0.7:deploy-war (default-cli) @ VT5 ---
    [WARNING] The <processTypes> value will be ignored when deploying a WAR file. Use `heroku:deploy` goal for custom processes.
    [INFO] Configured Artifact: com.github.jsimone:webapp-runner:8.5.38.0:jar
    [INFO] com.github.jsimone:webapp-runner:8.5.38.0:jar already exists in C:UserssaltydoggitrepositoryVT5VT5targetdependency
    [INFO] -----> Packaging application...
    [INFO] - app: vt5-1
    [INFO] - including: target/dependency/webapp-runner.jar
    [INFO] - including: target/VT5-0.0.1-SNAPSHOT.war
    [INFO] -----> Creating build...
    [INFO] - file: target/heroku/build.tgz
    [INFO] - size: 22MB
    [INFO] -----> Uploading build...
    [INFO] - success
    [INFO] -----> Deploying...
    [INFO] remote:
    [INFO] remote: -----> heroku-maven-plugin app detected
    [INFO] remote: -----> Installing JDK 1.8... done
    [INFO] remote: -----> Discovering process types
    [INFO] remote: Procfile declares types -> web
    [INFO] remote:
    [INFO] remote: -----> Compressing...
    [INFO] remote: Done: 72.6M
    [INFO] remote: -----> Launching...
    [INFO] remote: Released v4
    [INFO] remote: https://vt5-1.herokuapp.com/ deployed to Heroku
    [INFO] remote:
    [INFO] -----> Done
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 36.823 s
    [INFO] Finished at: 2019-03-26T17:15:10-04:00
    [INFO] ------------------------------------------------------------------------


    here's the output from heroku logs --tail



    C:UserssaltydoggitrepositoryVT5>heroku logs --tail
    2019-03-26T21:07:59.897975+00:00 app[api]: Initial release by user rsxxx@gmail.com
    2019-03-26T21:07:59.897975+00:00 app[api]: Release v1 created by user rsxxx@gmail.com
    2019-03-26T21:07:59.990666+00:00 app[api]: Release v2 created by user rsxxx@gmail.com
    2019-03-26T21:07:59.990666+00:00 app[api]: Enable Logplex by user rsxxx@gmail.com
    2019-03-26T21:10:07.000000+00:00 app[api]: Build started by user rsxxx@gmail.com
    2019-03-26T21:10:18.657266+00:00 app[api]: Deploy fa86bfdd by user rsxxx@gmail.com
    2019-03-26T21:10:18.670130+00:00 app[api]: Scaled to web@1:Free by user rsxxx@gmail.com
    2019-03-26T21:10:18.657266+00:00 app[api]: Release v3 created by user rsxxx@gmail.com
    2019-03-26T21:10:19.000000+00:00 app[api]: Build succeeded
    2019-03-26T21:10:22.350893+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar target/dependency/webapp-runner.jar $WEBAPP_RUNNER_OPTS --port 13062 target/VT5-0.0.1-SNAPSHOT.war`
    2019-03-26T21:10:24.024048+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
    2019-03-26T21:10:24.031319+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
    2019-03-26T21:10:24.931432+00:00 app[web.1]: Expanding VT5-0.0.1-SNAPSHOT.war into /app/target/tomcat.13062/webapps/expanded
    2019-03-26T21:10:24.931593+00:00 app[web.1]: Adding Context for /app/target/tomcat.13062/webapps/expanded
    2019-03-26T21:10:25.752672+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.coyote.AbstractProtocol init
    2019-03-26T21:10:25.752692+00:00 app[web.1]: INFO: Initializing ProtocolHandler ["http-nio-13062"]
    2019-03-26T21:10:25.793058+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    2019-03-26T21:10:25.793067+00:00 app[web.1]: INFO: Using a shared selector for servlet write/read
    2019-03-26T21:10:25.851354+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.catalina.core.StandardService startInternal
    2019-03-26T21:10:25.851358+00:00 app[web.1]: INFO: Starting service [Tomcat]
    2019-03-26T21:10:25.855328+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.catalina.core.StandardEngine startInternal
    2019-03-26T21:10:25.855332+00:00 app[web.1]: INFO: Starting Servlet Engine: Apache Tomcat/8.5.38
    2019-03-26T21:10:26.160579+00:00 app[web.1]: Mar 26, 2019 9:10:26 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
    2019-03-26T21:10:26.160603+00:00 app[web.1]: INFO: No global web.xml found
    2019-03-26T21:10:26.498285+00:00 heroku[web.1]: State changed from starting to up
    2019-03-26T21:10:29.172266+00:00 app[web.1]: Mar 26, 2019 9:10:29 PM org.apache.jasper.servlet.TldScanner scanJars
    2019-03-26T21:10:29.172281+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    2019-03-26T21:10:29.308705+00:00 app[web.1]: Mar 26, 2019 9:10:29 PM org.apache.coyote.AbstractProtocol start
    2019-03-26T21:10:29.308709+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-13062"]
    2019-03-26T21:10:41.299385+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=d09841f4-a111-4175-a680-bcc97a0a655f fwd="71.184.149.223" dyno=web.1 connect=0ms service=52ms status=404 bytes=1230 protocol=https
    2019-03-26T21:10:42.738199+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=vt5-1.herokuapp.com request_id=40566c4b-9386-43e6-9a61-32e298be15f5 fwd="71.184.149.223" dyno=web.1 connect=0ms service=3ms status=404 bytes=1241 protocol=https
    2019-03-26T21:14:55.000000+00:00 app[api]: Build started by user rsxxx@gmail.com
    2019-03-26T21:15:07.603846+00:00 heroku[web.1]: Restarting
    2019-03-26T21:15:07.608892+00:00 heroku[web.1]: State changed from up to starting
    2019-03-26T21:15:07.244261+00:00 app[api]: Release v4 created by user rsxxx@gmail.com
    2019-03-26T21:15:07.244261+00:00 app[api]: Deploy d20122bb by user rsxxx@gmail.com
    2019-03-26T21:15:07.000000+00:00 app[api]: Build succeeded
    2019-03-26T21:15:08.623952+00:00 heroku[web.1]: Stopping all processes with SIGTERM
    2019-03-26T21:15:08.638326+00:00 app[web.1]: Mar 26, 2019 9:15:08 PM org.apache.coyote.AbstractProtocol pause
    2019-03-26T21:15:08.638371+00:00 app[web.1]: INFO: Pausing ProtocolHandler ["http-nio-13062"]
    2019-03-26T21:15:09.063952+00:00 heroku[web.1]: Process exited with status 143
    2019-03-26T21:15:11.373049+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar target/dependency/webapp-runner.jar $WEBAPP_RUNNER_OPTS --port 35070 target/VT5-0.0.1-SNAPSHOT.war`
    2019-03-26T21:15:13.737687+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
    2019-03-26T21:15:13.749340+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
    2019-03-26T21:15:15.042221+00:00 app[web.1]: Expanding VT5-0.0.1-SNAPSHOT.war into /app/target/tomcat.35070/webapps/expanded
    2019-03-26T21:15:15.042349+00:00 app[web.1]: Adding Context for /app/target/tomcat.35070/webapps/expanded
    2019-03-26T21:15:16.148030+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.coyote.AbstractProtocol init
    2019-03-26T21:15:16.148042+00:00 app[web.1]: INFO: Initializing ProtocolHandler ["http-nio-35070"]
    2019-03-26T21:15:16.190235+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    2019-03-26T21:15:16.190239+00:00 app[web.1]: INFO: Using a shared selector for servlet write/read
    2019-03-26T21:15:16.254179+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.core.StandardService startInternal
    2019-03-26T21:15:16.254183+00:00 app[web.1]: INFO: Starting service [Tomcat]
    2019-03-26T21:15:16.258587+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.core.StandardEngine startInternal
    2019-03-26T21:15:16.258591+00:00 app[web.1]: INFO: Starting Servlet Engine: Apache Tomcat/8.5.38
    2019-03-26T21:15:16.864005+00:00 heroku[web.1]: State changed from starting to up
    2019-03-26T21:15:16.736837+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
    2019-03-26T21:15:16.736850+00:00 app[web.1]: INFO: No global web.xml found
    2019-03-26T21:15:21.020761+00:00 app[web.1]: Mar 26, 2019 9:15:21 PM org.apache.jasper.servlet.TldScanner scanJars
    2019-03-26T21:15:21.020783+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
    2019-03-26T21:15:21.164841+00:00 app[web.1]: Mar 26, 2019 9:15:21 PM org.apache.coyote.AbstractProtocol start
    2019-03-26T21:15:21.164845+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-35070"]
    2019-03-26T21:15:21.622631+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=ca93822e-6564-4abc-8c1d-26a201568b82 fwd="71.184.149.223" dyno=web.1 connect=1ms service=416ms status=404 bytes=1230 protocol=https
    2019-03-26T21:15:24.692620+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=0940932c-e4bc-4e64-a77f-958c5b2a853d fwd="71.184.149.223" dyno=web.1 connect=1ms service=10ms status=404 bytes=1230 protocol=https
    2019-03-26T21:15:26.446183+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=10f92084-bf5e-45ad-b4c8-1910e6d15c50 fwd="71.184.149.223" dyno=web.1 connect=1ms service=18ms status=404 bytes=1230 protocol=https


    here's the web.xml file:



    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
    <display-name>VT5</display-name>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
    <description></description>
    <display-name>VT5</display-name>
    <servlet-name>VT5</servlet-name>
    <servlet-class>VT5</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>VT5</servlet-name>
    <url-pattern>/VT5</url-pattern>
    </servlet-mapping>
    </web-app>


    and finally here's the pom.xml file:



    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>VT5</groupId>
    <artifactId>VT5</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <packaging>war</packaging>
    <dependencies>
    <dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-servlet</artifactId>
    <version>9.4.7.v20170914</version>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>javax.servlet-api</artifactId>
    <version>3.1.0</version>
    </dependency>
    </dependencies>
    <build>
    <sourceDirectory>src</sourceDirectory>
    <plugins>
    <plugin>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.8.0</version>
    <configuration>
    <source>1.8</source>
    <target>1.8</target>
    </configuration>
    </plugin>
    <plugin>
    <artifactId>maven-war-plugin</artifactId>
    <version>3.2.1</version>
    <configuration>
    <warSourceDirectory>WebContent</warSourceDirectory>
    </configuration>
    </plugin>
    <plugin>
    <groupId>com.heroku.sdk</groupId>
    <artifactId>heroku-maven-plugin</artifactId>
    <version>2.0.7</version>
    <configuration>
    <appName>vt5-1</appName>
    <processTypes>
    <web>java $JAVA_OPTS -cp target/classes:target/dependency/* VT5</web>
    </processTypes>
    </configuration>
    </plugin>
    </plugins>
    </build>
    </project>









    share|improve this question


























      0












      0








      0








      I've been trying to deploy a simple eclipse jee dynamic web app to heroku for the last 5 days. I'm going crazy trying to get this to work. I'm not sure but I think the problem(s) are in my pom.xml and/or web.xml files.



      The project can be found on github HERE



      I've read article after article and have researched Stackoverflow extensively. Would greatly appreciate it if someone could look at the project and help configure these files correctly.



      here's the output from eclipse:



      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------< VT5:VT5 >-------------------------------
      [INFO] Building VT5 0.0.1-SNAPSHOT
      [INFO] --------------------------------[ war ]---------------------------------
      [INFO]
      [INFO] >>> heroku-maven-plugin:2.0.7:deploy-war (default-cli) > package @ VT5 >>>
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ VT5 ---
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] skip non existing resourceDirectory C:UserssaltydoggitrepositoryVT5VT5srcmainresources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ VT5 ---
      [INFO] Nothing to compile - all classes are up to date
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ VT5 ---
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] skip non existing resourceDirectory C:UserssaltydoggitrepositoryVT5VT5srctestresources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ VT5 ---
      [INFO] No sources to compile
      [INFO]
      [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ VT5 ---
      [INFO]
      [INFO] --- maven-war-plugin:3.2.1:war (default-war) @ VT5 ---
      [INFO] Packaging webapp
      [INFO] Assembling webapp [VT5] in [C:UserssaltydoggitrepositoryVT5VT5targetVT5-0.0.1-SNAPSHOT]
      [INFO] Processing war project
      [INFO] Copying webapp resources [C:UserssaltydoggitrepositoryVT5VT5WebContent]
      [INFO] Webapp assembled in [197 msecs]
      [INFO] Building war: C:UserssaltydoggitrepositoryVT5VT5targetVT5-0.0.1-SNAPSHOT.war
      [INFO]
      [INFO] <<< heroku-maven-plugin:2.0.7:deploy-war (default-cli) < package @ VT5 <<<
      [INFO]
      [INFO]
      [INFO] --- heroku-maven-plugin:2.0.7:deploy-war (default-cli) @ VT5 ---
      [WARNING] The <processTypes> value will be ignored when deploying a WAR file. Use `heroku:deploy` goal for custom processes.
      [INFO] Configured Artifact: com.github.jsimone:webapp-runner:8.5.38.0:jar
      [INFO] com.github.jsimone:webapp-runner:8.5.38.0:jar already exists in C:UserssaltydoggitrepositoryVT5VT5targetdependency
      [INFO] -----> Packaging application...
      [INFO] - app: vt5-1
      [INFO] - including: target/dependency/webapp-runner.jar
      [INFO] - including: target/VT5-0.0.1-SNAPSHOT.war
      [INFO] -----> Creating build...
      [INFO] - file: target/heroku/build.tgz
      [INFO] - size: 22MB
      [INFO] -----> Uploading build...
      [INFO] - success
      [INFO] -----> Deploying...
      [INFO] remote:
      [INFO] remote: -----> heroku-maven-plugin app detected
      [INFO] remote: -----> Installing JDK 1.8... done
      [INFO] remote: -----> Discovering process types
      [INFO] remote: Procfile declares types -> web
      [INFO] remote:
      [INFO] remote: -----> Compressing...
      [INFO] remote: Done: 72.6M
      [INFO] remote: -----> Launching...
      [INFO] remote: Released v4
      [INFO] remote: https://vt5-1.herokuapp.com/ deployed to Heroku
      [INFO] remote:
      [INFO] -----> Done
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 36.823 s
      [INFO] Finished at: 2019-03-26T17:15:10-04:00
      [INFO] ------------------------------------------------------------------------


      here's the output from heroku logs --tail



      C:UserssaltydoggitrepositoryVT5>heroku logs --tail
      2019-03-26T21:07:59.897975+00:00 app[api]: Initial release by user rsxxx@gmail.com
      2019-03-26T21:07:59.897975+00:00 app[api]: Release v1 created by user rsxxx@gmail.com
      2019-03-26T21:07:59.990666+00:00 app[api]: Release v2 created by user rsxxx@gmail.com
      2019-03-26T21:07:59.990666+00:00 app[api]: Enable Logplex by user rsxxx@gmail.com
      2019-03-26T21:10:07.000000+00:00 app[api]: Build started by user rsxxx@gmail.com
      2019-03-26T21:10:18.657266+00:00 app[api]: Deploy fa86bfdd by user rsxxx@gmail.com
      2019-03-26T21:10:18.670130+00:00 app[api]: Scaled to web@1:Free by user rsxxx@gmail.com
      2019-03-26T21:10:18.657266+00:00 app[api]: Release v3 created by user rsxxx@gmail.com
      2019-03-26T21:10:19.000000+00:00 app[api]: Build succeeded
      2019-03-26T21:10:22.350893+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar target/dependency/webapp-runner.jar $WEBAPP_RUNNER_OPTS --port 13062 target/VT5-0.0.1-SNAPSHOT.war`
      2019-03-26T21:10:24.024048+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
      2019-03-26T21:10:24.031319+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
      2019-03-26T21:10:24.931432+00:00 app[web.1]: Expanding VT5-0.0.1-SNAPSHOT.war into /app/target/tomcat.13062/webapps/expanded
      2019-03-26T21:10:24.931593+00:00 app[web.1]: Adding Context for /app/target/tomcat.13062/webapps/expanded
      2019-03-26T21:10:25.752672+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.coyote.AbstractProtocol init
      2019-03-26T21:10:25.752692+00:00 app[web.1]: INFO: Initializing ProtocolHandler ["http-nio-13062"]
      2019-03-26T21:10:25.793058+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
      2019-03-26T21:10:25.793067+00:00 app[web.1]: INFO: Using a shared selector for servlet write/read
      2019-03-26T21:10:25.851354+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.catalina.core.StandardService startInternal
      2019-03-26T21:10:25.851358+00:00 app[web.1]: INFO: Starting service [Tomcat]
      2019-03-26T21:10:25.855328+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.catalina.core.StandardEngine startInternal
      2019-03-26T21:10:25.855332+00:00 app[web.1]: INFO: Starting Servlet Engine: Apache Tomcat/8.5.38
      2019-03-26T21:10:26.160579+00:00 app[web.1]: Mar 26, 2019 9:10:26 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
      2019-03-26T21:10:26.160603+00:00 app[web.1]: INFO: No global web.xml found
      2019-03-26T21:10:26.498285+00:00 heroku[web.1]: State changed from starting to up
      2019-03-26T21:10:29.172266+00:00 app[web.1]: Mar 26, 2019 9:10:29 PM org.apache.jasper.servlet.TldScanner scanJars
      2019-03-26T21:10:29.172281+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      2019-03-26T21:10:29.308705+00:00 app[web.1]: Mar 26, 2019 9:10:29 PM org.apache.coyote.AbstractProtocol start
      2019-03-26T21:10:29.308709+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-13062"]
      2019-03-26T21:10:41.299385+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=d09841f4-a111-4175-a680-bcc97a0a655f fwd="71.184.149.223" dyno=web.1 connect=0ms service=52ms status=404 bytes=1230 protocol=https
      2019-03-26T21:10:42.738199+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=vt5-1.herokuapp.com request_id=40566c4b-9386-43e6-9a61-32e298be15f5 fwd="71.184.149.223" dyno=web.1 connect=0ms service=3ms status=404 bytes=1241 protocol=https
      2019-03-26T21:14:55.000000+00:00 app[api]: Build started by user rsxxx@gmail.com
      2019-03-26T21:15:07.603846+00:00 heroku[web.1]: Restarting
      2019-03-26T21:15:07.608892+00:00 heroku[web.1]: State changed from up to starting
      2019-03-26T21:15:07.244261+00:00 app[api]: Release v4 created by user rsxxx@gmail.com
      2019-03-26T21:15:07.244261+00:00 app[api]: Deploy d20122bb by user rsxxx@gmail.com
      2019-03-26T21:15:07.000000+00:00 app[api]: Build succeeded
      2019-03-26T21:15:08.623952+00:00 heroku[web.1]: Stopping all processes with SIGTERM
      2019-03-26T21:15:08.638326+00:00 app[web.1]: Mar 26, 2019 9:15:08 PM org.apache.coyote.AbstractProtocol pause
      2019-03-26T21:15:08.638371+00:00 app[web.1]: INFO: Pausing ProtocolHandler ["http-nio-13062"]
      2019-03-26T21:15:09.063952+00:00 heroku[web.1]: Process exited with status 143
      2019-03-26T21:15:11.373049+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar target/dependency/webapp-runner.jar $WEBAPP_RUNNER_OPTS --port 35070 target/VT5-0.0.1-SNAPSHOT.war`
      2019-03-26T21:15:13.737687+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
      2019-03-26T21:15:13.749340+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
      2019-03-26T21:15:15.042221+00:00 app[web.1]: Expanding VT5-0.0.1-SNAPSHOT.war into /app/target/tomcat.35070/webapps/expanded
      2019-03-26T21:15:15.042349+00:00 app[web.1]: Adding Context for /app/target/tomcat.35070/webapps/expanded
      2019-03-26T21:15:16.148030+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.coyote.AbstractProtocol init
      2019-03-26T21:15:16.148042+00:00 app[web.1]: INFO: Initializing ProtocolHandler ["http-nio-35070"]
      2019-03-26T21:15:16.190235+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
      2019-03-26T21:15:16.190239+00:00 app[web.1]: INFO: Using a shared selector for servlet write/read
      2019-03-26T21:15:16.254179+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.core.StandardService startInternal
      2019-03-26T21:15:16.254183+00:00 app[web.1]: INFO: Starting service [Tomcat]
      2019-03-26T21:15:16.258587+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.core.StandardEngine startInternal
      2019-03-26T21:15:16.258591+00:00 app[web.1]: INFO: Starting Servlet Engine: Apache Tomcat/8.5.38
      2019-03-26T21:15:16.864005+00:00 heroku[web.1]: State changed from starting to up
      2019-03-26T21:15:16.736837+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
      2019-03-26T21:15:16.736850+00:00 app[web.1]: INFO: No global web.xml found
      2019-03-26T21:15:21.020761+00:00 app[web.1]: Mar 26, 2019 9:15:21 PM org.apache.jasper.servlet.TldScanner scanJars
      2019-03-26T21:15:21.020783+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      2019-03-26T21:15:21.164841+00:00 app[web.1]: Mar 26, 2019 9:15:21 PM org.apache.coyote.AbstractProtocol start
      2019-03-26T21:15:21.164845+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-35070"]
      2019-03-26T21:15:21.622631+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=ca93822e-6564-4abc-8c1d-26a201568b82 fwd="71.184.149.223" dyno=web.1 connect=1ms service=416ms status=404 bytes=1230 protocol=https
      2019-03-26T21:15:24.692620+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=0940932c-e4bc-4e64-a77f-958c5b2a853d fwd="71.184.149.223" dyno=web.1 connect=1ms service=10ms status=404 bytes=1230 protocol=https
      2019-03-26T21:15:26.446183+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=10f92084-bf5e-45ad-b4c8-1910e6d15c50 fwd="71.184.149.223" dyno=web.1 connect=1ms service=18ms status=404 bytes=1230 protocol=https


      here's the web.xml file:



      <?xml version="1.0" encoding="UTF-8"?>
      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
      <display-name>VT5</display-name>
      <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
      </welcome-file-list>
      <servlet>
      <description></description>
      <display-name>VT5</display-name>
      <servlet-name>VT5</servlet-name>
      <servlet-class>VT5</servlet-class>
      </servlet>
      <servlet-mapping>
      <servlet-name>VT5</servlet-name>
      <url-pattern>/VT5</url-pattern>
      </servlet-mapping>
      </web-app>


      and finally here's the pom.xml file:



      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>VT5</groupId>
      <artifactId>VT5</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>war</packaging>
      <dependencies>
      <dependency>
      <groupId>org.eclipse.jetty</groupId>
      <artifactId>jetty-servlet</artifactId>
      <version>9.4.7.v20170914</version>
      </dependency>
      <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      <version>3.1.0</version>
      </dependency>
      </dependencies>
      <build>
      <sourceDirectory>src</sourceDirectory>
      <plugins>
      <plugin>
      <artifactId>maven-compiler-plugin</artifactId>
      <version>3.8.0</version>
      <configuration>
      <source>1.8</source>
      <target>1.8</target>
      </configuration>
      </plugin>
      <plugin>
      <artifactId>maven-war-plugin</artifactId>
      <version>3.2.1</version>
      <configuration>
      <warSourceDirectory>WebContent</warSourceDirectory>
      </configuration>
      </plugin>
      <plugin>
      <groupId>com.heroku.sdk</groupId>
      <artifactId>heroku-maven-plugin</artifactId>
      <version>2.0.7</version>
      <configuration>
      <appName>vt5-1</appName>
      <processTypes>
      <web>java $JAVA_OPTS -cp target/classes:target/dependency/* VT5</web>
      </processTypes>
      </configuration>
      </plugin>
      </plugins>
      </build>
      </project>









      share|improve this question
















      I've been trying to deploy a simple eclipse jee dynamic web app to heroku for the last 5 days. I'm going crazy trying to get this to work. I'm not sure but I think the problem(s) are in my pom.xml and/or web.xml files.



      The project can be found on github HERE



      I've read article after article and have researched Stackoverflow extensively. Would greatly appreciate it if someone could look at the project and help configure these files correctly.



      here's the output from eclipse:



      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------< VT5:VT5 >-------------------------------
      [INFO] Building VT5 0.0.1-SNAPSHOT
      [INFO] --------------------------------[ war ]---------------------------------
      [INFO]
      [INFO] >>> heroku-maven-plugin:2.0.7:deploy-war (default-cli) > package @ VT5 >>>
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ VT5 ---
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] skip non existing resourceDirectory C:UserssaltydoggitrepositoryVT5VT5srcmainresources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ VT5 ---
      [INFO] Nothing to compile - all classes are up to date
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ VT5 ---
      [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] skip non existing resourceDirectory C:UserssaltydoggitrepositoryVT5VT5srctestresources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ VT5 ---
      [INFO] No sources to compile
      [INFO]
      [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ VT5 ---
      [INFO]
      [INFO] --- maven-war-plugin:3.2.1:war (default-war) @ VT5 ---
      [INFO] Packaging webapp
      [INFO] Assembling webapp [VT5] in [C:UserssaltydoggitrepositoryVT5VT5targetVT5-0.0.1-SNAPSHOT]
      [INFO] Processing war project
      [INFO] Copying webapp resources [C:UserssaltydoggitrepositoryVT5VT5WebContent]
      [INFO] Webapp assembled in [197 msecs]
      [INFO] Building war: C:UserssaltydoggitrepositoryVT5VT5targetVT5-0.0.1-SNAPSHOT.war
      [INFO]
      [INFO] <<< heroku-maven-plugin:2.0.7:deploy-war (default-cli) < package @ VT5 <<<
      [INFO]
      [INFO]
      [INFO] --- heroku-maven-plugin:2.0.7:deploy-war (default-cli) @ VT5 ---
      [WARNING] The <processTypes> value will be ignored when deploying a WAR file. Use `heroku:deploy` goal for custom processes.
      [INFO] Configured Artifact: com.github.jsimone:webapp-runner:8.5.38.0:jar
      [INFO] com.github.jsimone:webapp-runner:8.5.38.0:jar already exists in C:UserssaltydoggitrepositoryVT5VT5targetdependency
      [INFO] -----> Packaging application...
      [INFO] - app: vt5-1
      [INFO] - including: target/dependency/webapp-runner.jar
      [INFO] - including: target/VT5-0.0.1-SNAPSHOT.war
      [INFO] -----> Creating build...
      [INFO] - file: target/heroku/build.tgz
      [INFO] - size: 22MB
      [INFO] -----> Uploading build...
      [INFO] - success
      [INFO] -----> Deploying...
      [INFO] remote:
      [INFO] remote: -----> heroku-maven-plugin app detected
      [INFO] remote: -----> Installing JDK 1.8... done
      [INFO] remote: -----> Discovering process types
      [INFO] remote: Procfile declares types -> web
      [INFO] remote:
      [INFO] remote: -----> Compressing...
      [INFO] remote: Done: 72.6M
      [INFO] remote: -----> Launching...
      [INFO] remote: Released v4
      [INFO] remote: https://vt5-1.herokuapp.com/ deployed to Heroku
      [INFO] remote:
      [INFO] -----> Done
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 36.823 s
      [INFO] Finished at: 2019-03-26T17:15:10-04:00
      [INFO] ------------------------------------------------------------------------


      here's the output from heroku logs --tail



      C:UserssaltydoggitrepositoryVT5>heroku logs --tail
      2019-03-26T21:07:59.897975+00:00 app[api]: Initial release by user rsxxx@gmail.com
      2019-03-26T21:07:59.897975+00:00 app[api]: Release v1 created by user rsxxx@gmail.com
      2019-03-26T21:07:59.990666+00:00 app[api]: Release v2 created by user rsxxx@gmail.com
      2019-03-26T21:07:59.990666+00:00 app[api]: Enable Logplex by user rsxxx@gmail.com
      2019-03-26T21:10:07.000000+00:00 app[api]: Build started by user rsxxx@gmail.com
      2019-03-26T21:10:18.657266+00:00 app[api]: Deploy fa86bfdd by user rsxxx@gmail.com
      2019-03-26T21:10:18.670130+00:00 app[api]: Scaled to web@1:Free by user rsxxx@gmail.com
      2019-03-26T21:10:18.657266+00:00 app[api]: Release v3 created by user rsxxx@gmail.com
      2019-03-26T21:10:19.000000+00:00 app[api]: Build succeeded
      2019-03-26T21:10:22.350893+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar target/dependency/webapp-runner.jar $WEBAPP_RUNNER_OPTS --port 13062 target/VT5-0.0.1-SNAPSHOT.war`
      2019-03-26T21:10:24.024048+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
      2019-03-26T21:10:24.031319+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
      2019-03-26T21:10:24.931432+00:00 app[web.1]: Expanding VT5-0.0.1-SNAPSHOT.war into /app/target/tomcat.13062/webapps/expanded
      2019-03-26T21:10:24.931593+00:00 app[web.1]: Adding Context for /app/target/tomcat.13062/webapps/expanded
      2019-03-26T21:10:25.752672+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.coyote.AbstractProtocol init
      2019-03-26T21:10:25.752692+00:00 app[web.1]: INFO: Initializing ProtocolHandler ["http-nio-13062"]
      2019-03-26T21:10:25.793058+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
      2019-03-26T21:10:25.793067+00:00 app[web.1]: INFO: Using a shared selector for servlet write/read
      2019-03-26T21:10:25.851354+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.catalina.core.StandardService startInternal
      2019-03-26T21:10:25.851358+00:00 app[web.1]: INFO: Starting service [Tomcat]
      2019-03-26T21:10:25.855328+00:00 app[web.1]: Mar 26, 2019 9:10:25 PM org.apache.catalina.core.StandardEngine startInternal
      2019-03-26T21:10:25.855332+00:00 app[web.1]: INFO: Starting Servlet Engine: Apache Tomcat/8.5.38
      2019-03-26T21:10:26.160579+00:00 app[web.1]: Mar 26, 2019 9:10:26 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
      2019-03-26T21:10:26.160603+00:00 app[web.1]: INFO: No global web.xml found
      2019-03-26T21:10:26.498285+00:00 heroku[web.1]: State changed from starting to up
      2019-03-26T21:10:29.172266+00:00 app[web.1]: Mar 26, 2019 9:10:29 PM org.apache.jasper.servlet.TldScanner scanJars
      2019-03-26T21:10:29.172281+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      2019-03-26T21:10:29.308705+00:00 app[web.1]: Mar 26, 2019 9:10:29 PM org.apache.coyote.AbstractProtocol start
      2019-03-26T21:10:29.308709+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-13062"]
      2019-03-26T21:10:41.299385+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=d09841f4-a111-4175-a680-bcc97a0a655f fwd="71.184.149.223" dyno=web.1 connect=0ms service=52ms status=404 bytes=1230 protocol=https
      2019-03-26T21:10:42.738199+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=vt5-1.herokuapp.com request_id=40566c4b-9386-43e6-9a61-32e298be15f5 fwd="71.184.149.223" dyno=web.1 connect=0ms service=3ms status=404 bytes=1241 protocol=https
      2019-03-26T21:14:55.000000+00:00 app[api]: Build started by user rsxxx@gmail.com
      2019-03-26T21:15:07.603846+00:00 heroku[web.1]: Restarting
      2019-03-26T21:15:07.608892+00:00 heroku[web.1]: State changed from up to starting
      2019-03-26T21:15:07.244261+00:00 app[api]: Release v4 created by user rsxxx@gmail.com
      2019-03-26T21:15:07.244261+00:00 app[api]: Deploy d20122bb by user rsxxx@gmail.com
      2019-03-26T21:15:07.000000+00:00 app[api]: Build succeeded
      2019-03-26T21:15:08.623952+00:00 heroku[web.1]: Stopping all processes with SIGTERM
      2019-03-26T21:15:08.638326+00:00 app[web.1]: Mar 26, 2019 9:15:08 PM org.apache.coyote.AbstractProtocol pause
      2019-03-26T21:15:08.638371+00:00 app[web.1]: INFO: Pausing ProtocolHandler ["http-nio-13062"]
      2019-03-26T21:15:09.063952+00:00 heroku[web.1]: Process exited with status 143
      2019-03-26T21:15:11.373049+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar target/dependency/webapp-runner.jar $WEBAPP_RUNNER_OPTS --port 35070 target/VT5-0.0.1-SNAPSHOT.war`
      2019-03-26T21:15:13.737687+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
      2019-03-26T21:15:13.749340+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8
      2019-03-26T21:15:15.042221+00:00 app[web.1]: Expanding VT5-0.0.1-SNAPSHOT.war into /app/target/tomcat.35070/webapps/expanded
      2019-03-26T21:15:15.042349+00:00 app[web.1]: Adding Context for /app/target/tomcat.35070/webapps/expanded
      2019-03-26T21:15:16.148030+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.coyote.AbstractProtocol init
      2019-03-26T21:15:16.148042+00:00 app[web.1]: INFO: Initializing ProtocolHandler ["http-nio-35070"]
      2019-03-26T21:15:16.190235+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
      2019-03-26T21:15:16.190239+00:00 app[web.1]: INFO: Using a shared selector for servlet write/read
      2019-03-26T21:15:16.254179+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.core.StandardService startInternal
      2019-03-26T21:15:16.254183+00:00 app[web.1]: INFO: Starting service [Tomcat]
      2019-03-26T21:15:16.258587+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.core.StandardEngine startInternal
      2019-03-26T21:15:16.258591+00:00 app[web.1]: INFO: Starting Servlet Engine: Apache Tomcat/8.5.38
      2019-03-26T21:15:16.864005+00:00 heroku[web.1]: State changed from starting to up
      2019-03-26T21:15:16.736837+00:00 app[web.1]: Mar 26, 2019 9:15:16 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
      2019-03-26T21:15:16.736850+00:00 app[web.1]: INFO: No global web.xml found
      2019-03-26T21:15:21.020761+00:00 app[web.1]: Mar 26, 2019 9:15:21 PM org.apache.jasper.servlet.TldScanner scanJars
      2019-03-26T21:15:21.020783+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      2019-03-26T21:15:21.164841+00:00 app[web.1]: Mar 26, 2019 9:15:21 PM org.apache.coyote.AbstractProtocol start
      2019-03-26T21:15:21.164845+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-35070"]
      2019-03-26T21:15:21.622631+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=ca93822e-6564-4abc-8c1d-26a201568b82 fwd="71.184.149.223" dyno=web.1 connect=1ms service=416ms status=404 bytes=1230 protocol=https
      2019-03-26T21:15:24.692620+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=0940932c-e4bc-4e64-a77f-958c5b2a853d fwd="71.184.149.223" dyno=web.1 connect=1ms service=10ms status=404 bytes=1230 protocol=https
      2019-03-26T21:15:26.446183+00:00 heroku[router]: at=info method=GET path="/" host=vt5-1.herokuapp.com request_id=10f92084-bf5e-45ad-b4c8-1910e6d15c50 fwd="71.184.149.223" dyno=web.1 connect=1ms service=18ms status=404 bytes=1230 protocol=https


      here's the web.xml file:



      <?xml version="1.0" encoding="UTF-8"?>
      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
      <display-name>VT5</display-name>
      <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
      </welcome-file-list>
      <servlet>
      <description></description>
      <display-name>VT5</display-name>
      <servlet-name>VT5</servlet-name>
      <servlet-class>VT5</servlet-class>
      </servlet>
      <servlet-mapping>
      <servlet-name>VT5</servlet-name>
      <url-pattern>/VT5</url-pattern>
      </servlet-mapping>
      </web-app>


      and finally here's the pom.xml file:



      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>VT5</groupId>
      <artifactId>VT5</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>war</packaging>
      <dependencies>
      <dependency>
      <groupId>org.eclipse.jetty</groupId>
      <artifactId>jetty-servlet</artifactId>
      <version>9.4.7.v20170914</version>
      </dependency>
      <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      <version>3.1.0</version>
      </dependency>
      </dependencies>
      <build>
      <sourceDirectory>src</sourceDirectory>
      <plugins>
      <plugin>
      <artifactId>maven-compiler-plugin</artifactId>
      <version>3.8.0</version>
      <configuration>
      <source>1.8</source>
      <target>1.8</target>
      </configuration>
      </plugin>
      <plugin>
      <artifactId>maven-war-plugin</artifactId>
      <version>3.2.1</version>
      <configuration>
      <warSourceDirectory>WebContent</warSourceDirectory>
      </configuration>
      </plugin>
      <plugin>
      <groupId>com.heroku.sdk</groupId>
      <artifactId>heroku-maven-plugin</artifactId>
      <version>2.0.7</version>
      <configuration>
      <appName>vt5-1</appName>
      <processTypes>
      <web>java $JAVA_OPTS -cp target/classes:target/dependency/* VT5</web>
      </processTypes>
      </configuration>
      </plugin>
      </plugins>
      </build>
      </project>






      eclipse heroku dynamic-websites






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 26 at 21:32







      DCR

















      asked Mar 26 at 16:20









      DCRDCR

      2,7432 gold badges20 silver badges53 bronze badges




      2,7432 gold badges20 silver badges53 bronze badges






















          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361832%2fpom-xml-and-web-xml-not-configured-properly-for-heroku%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361832%2fpom-xml-and-web-xml-not-configured-properly-for-heroku%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript