[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.jpa.hibernate:app >------------------------
[INFO] Building app 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]------------------------- --------
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resourc es (default-resources) @ app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ app ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to C:\solution\app\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testRes ources (default-testResources) @ app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\solution\app\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testComp ile (default-testCompile) @ app ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to C:\solution\app\target\test-classes
[INFO] ------------------------------------ ---------- ---------- -----
COMPILATION ERROR :
[INFO] ------------------------------------ ---------- ---------- -----
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Na tiveQueryT est.java:[ 13,29] package org.junit.jupiter.api does not exist
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Ap pApplicati onTests.ja va:[6,29] package org.junit.jupiter.api does not exist
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/Cou rseReposit oryTest.ja va:[3,29] package org.junit.jupiter.api does not exist
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/JP QLTest.jav a:[12,29] package org.junit.jupiter.api does not exist
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Na tiveQueryT est.java:[ 36,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.Nat iveQueryTe st
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Na tiveQueryT est.java:[ 47,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.Nat iveQueryTe st
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Na tiveQueryT est.java:[ 57,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.Nat iveQueryTe st
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Ap pApplicati onTests.ja va:[29,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.App Applicatio nTests
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Ap pApplicati onTests.ja va:[37,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.App Applicatio nTests
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/Cou rseReposit oryTest.ja va:[9,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.CourseReposito ryTest
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/JP QLTest.jav a:[35,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.JPQ LTest
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/JP QLTest.jav a:[44,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.JPQ LTest
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/JP QLTest.jav a:[53,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.JPQ LTest
[INFO] 13 errors
[INFO] ------------------------------------ ---------- ---------- -----
[INFO] ------------------------------------ ---------- ---------- ---------- ------
[INFO] BUILD FAILURE
[INFO] ------------------------------------ ---------- ---------- ---------- ------
[INFO] Total time: 4.686 s
[INFO] Finished at: 2020-03-28T16:41:26+02:00
[INFO] ------------------------------------ ---------- ---------- ---------- ------
Failed to execute goal org.apache.maven.plugins:maven-compi ler-plugin :3.8.0:tes tCompile (default-testCompile) on project app: Compilation failure: Compilation failure:
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Na tiveQueryT est.java:[ 13,29] package org.junit.jupiter.api does not exist
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Ap pApplicati onTests.ja va:[6,29] package org.junit.jupiter.api does not exist
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/Cou rseReposit oryTest.ja va:[3,29] package org.junit.jupiter.api does not exist
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/JP QLTest.jav a:[12,29] package org.junit.jupiter.api does not exist
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Na tiveQueryT est.java:[ 36,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.Nat iveQueryTe st
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Na tiveQueryT est.java:[ 47,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.Nat iveQueryTe st
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Na tiveQueryT est.java:[ 57,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.Nat iveQueryTe st
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Ap pApplicati onTests.ja va:[29,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.App Applicatio nTests
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/Ap pApplicati onTests.ja va:[37,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.App Applicatio nTests
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/Cou rseReposit oryTest.ja va:[9,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.CourseReposito ryTest
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/JP QLTest.jav a:[35,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.JPQ LTest
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/JP QLTest.jav a:[44,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.JPQ LTest
/C:/solution/app/src/test/java/com/j pa/hiberna te/app/rep ository/JP QLTest.jav a:[53,10] cannot find symbol
symbol: class Test
location: class com.jpa.hibernate.app.repository.JPQ LTest
-> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.