title: Spring boot App - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile on Project
body: <p>I am trying to deploy a spring boot app on Heroku. Here's my heroku error log:</p>
  
  <pre><code>remote:        [ERROR] COMPILATION ERROR : 
  remote:        [INFO] -------------------------------------------------------------
  remote:        [ERROR] /tmp/build_ffefd73b56c7017473a0b98cce9d815d/src/test/java/com/ticketbooking/ticketbooking/TicketbookingApplicationTests.java:[3,29] package org.junit.jupiter.api does not exist
  remote:        [ERROR] /tmp/build_ffefd73b56c7017473a0b98cce9d815d/src/test/java/com/ticketbooking/ticketbooking/TicketbookingApplicationTests.java:[4,45] package org.springframework.boot.test.context does not exist
  remote:        [ERROR] /tmp/build_ffefd73b56c7017473a0b98cce9d815d/src/test/java/com/ticketbooking/ticketbooking/TicketbookingApplicationTests.java:[6,2] cannot find symbol
  remote:          symbol: class SpringBootTest
  remote:        [ERROR] /tmp/build_ffefd73b56c7017473a0b98cce9d815d/src/test/java/com/ticketbooking/ticketbooking/TicketbookingApplicationTests.java:[9,6] cannot find symbol
  remote:          symbol:   class Test
  remote:          location: class com.ticketbooking.ticketbooking.TicketbookingApplicationTests
  remote:        [INFO] 4 errors 
  remote:        [INFO] -------------------------------------------------------------
  remote:        [INFO] ------------------------------------------------------------------------
  remote:        [INFO] BUILD FAILURE
  </code></pre>
  
  <p>I am confused, because I do not have any test classes, I don't know where it's getting the TicketbookingApplicationTests class. </p>
  
  <p>Here's my pom.xml:</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-data-jdbc&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
          &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
          &lt;version&gt;42.2.10&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.logging.log4j&lt;/groupId&gt;
          &lt;artifactId&gt;log4j-core&lt;/artifactId&gt;
          &lt;version&gt;2.11.2&lt;/version&gt;
          &lt;type&gt;pom&lt;/type&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.fasterxml.jackson.datatype&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-datatype-jsr310&lt;/artifactId&gt;
          &lt;version&gt;2.10.2&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- API, java.xml.bind module --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;jakarta.xml.bind&lt;/groupId&gt;
          &lt;artifactId&gt;jakarta.xml.bind-api&lt;/artifactId&gt;
          &lt;version&gt;2.3.2&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Runtime, com.sun.xml.bind module --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.glassfish.jaxb&lt;/groupId&gt;
          &lt;artifactId&gt;jaxb-runtime&lt;/artifactId&gt;
          &lt;version&gt;2.3.2&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
          &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
          &lt;version&gt;5.2.11.Final&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.zxing&lt;/groupId&gt;
          &lt;artifactId&gt;javase&lt;/artifactId&gt;
          &lt;version&gt;3.3.0&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.mindrot&lt;/groupId&gt;
          &lt;artifactId&gt;jbcrypt&lt;/artifactId&gt;
          &lt;version&gt;0.3m&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;commons-io&lt;/groupId&gt;
          &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
          &lt;version&gt;2.5&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-security&lt;/artifactId&gt;
          &lt;version&gt;2.2.2.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.jsonwebtoken&lt;/groupId&gt;
          &lt;artifactId&gt;jjwt&lt;/artifactId&gt;
          &lt;version&gt;0.2&lt;/version&gt;
      &lt;/dependency&gt;
  
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
          &lt;/plugin&gt;
  
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>