Javatpoint Logo

Spring BOOT +JPA

By: mail2n*** On: Fri Sep 22 18:22:38 IST 2017     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
https://ibb.co/miqzTk


Trying to create "Spring Starter Project" , when Try To Install getting below Error log.

============================================================

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building BootJPA 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ BootJPA ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ BootJPA ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to F:\SpringBoot12334\BootJPA\target\classes
[ERROR] error reading C:\Users\User\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.20\tomcat-embed-core-8.5.20.jar; invalid CEN header (bad signature)
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ BootJPA ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory F:\SpringBoot12334\BootJPA\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ BootJPA ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to F:\SpringBoot12334\BootJPA\target\test-classes
[ERROR] error reading C:\Users\User\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.20\tomcat-embed-core-8.5.20.jar; invalid CEN header (bad signature)
[INFO]
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ BootJPA ---
[INFO] Downloading: https://repo.spring.io/snapshot/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom
[INFO] Downloading: https://repo.spring.io/milestone/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom (4 KB at 2.3 KB/sec)
[INFO] Downloading: https://repo.spring.io/snapshot/classworlds/classworlds/1.1/classworlds-1.1.pom
[INFO] Downloading: https://repo.spring.io/milestone/classworlds/classworlds/1.1/classworlds-1.1.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1/classworlds-1.1.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1/classworlds-1.1.pom (4 KB at 7.7 KB/sec)
[INFO] Downloading: https://repo.spring.io/snapshot/classworlds/classworlds/1.1/classworlds-1.1.jar
[INFO] Downloading: https://repo.spring.io/milestone/classworlds/classworlds/1.1/classworlds-1.1.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1/classworlds-1.1.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1/classworlds-1.1.jar (37 KB at 36.2 KB/sec)
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.835 s
[INFO] Finished at: 2017-09-22T18:21:08+05:30
[INFO] Final Memory: 26M/63M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "pom.xml" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project BootJPA: There are test failures.
[ERROR]
[ERROR] Please refer to F:\SpringBoot12334\BootJPA\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files (x86)\Java\jdk1.8.0_144\jre\bin\java" -jar C:\Users\User\AppData\Local\Temp\surefire6676496453173584802\surefirebooter4135214915170706496.jar C:\Users\User\AppData\Local\Temp\surefire6676496453173584802 2017-09-22T18-21-07_099-jvmRun1 surefire7051639673406961366tmp surefi
Up0Down