急急急!!!在线等!!!各位大神帮帮忙 小弟是win10 的系统,使用springboot开发的项目,ecplise使用的是Eclipse Jee Oxygen
急急急!!!在线等!!!各位大神帮帮忙
小弟是win10 的系统,使用springboot开发的项目,ecplise使用的是Eclipse Jee Oxygen(氧气) 的版本,使用maven instal打包总是报错,报错信息如下 :
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< com.jointsky.export:exportexcel >-------------------
[INFO] Building exportexcel 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for ch.qos.logback:logback-core:jar:1.2.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.slf4j:slf4j-api:jar:1.7.25 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.apache.logging.log4j:log4j-to-slf4j:jar:2.10.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.slf4j:jul-to-slf4j:jar:1.7.25 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for javax.annotation:javax.annotation-api:jar:1.3.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.yaml:snakeyaml:jar:1.19 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.springframework.data:spring-data-commons:jar:2.0.7.RELEASE is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for javax.persistence:javax.persistence-api:jar:2.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.unbescape:unbescape:jar:1.1.5.RELEASE is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.thymeleaf.extras:thymeleaf-extras-java8time:jar:3.0.1.RELEASE is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-lang:commons-lang:jar:2.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-beanutils:commons-beanutils:jar:1.8.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-collections:commons-collections:jar:3.2.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-lang:commons-lang:jar:2.5 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for commons-logging:commons-logging:jar:1.1.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.springframework.data:spring-data-jpa:jar:2.0.7.RELEASE is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jboss:jandex:jar:2.0.3.Final is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ exportexcel ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 207 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ exportexcel ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 95 source files to F:\java_code\exportexcel\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/service/ManualNoiseServiceImpl.java:[9,33] 程序包org.mockito.internal.util不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/PrimaryConfig.java:[12,35] 程序包org.springframework.orm.jpa不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/PrimaryConfig.java:[13,35] 程序包org.springframework.orm.jpa不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/PrimaryConfig.java:[40,12] 找不到符号
符号: 类 LocalContainerEntityManagerFactoryBean
位置: 类 com.jointsky.exportexcel.config.PrimaryConfig
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/SecondaryConfig.java:[11,35] 程序包org.springframework.orm.jpa不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/SecondaryConfig.java:[12,35] 程序包org.springframework.orm.jpa不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/SecondaryConfig.java:[37,12] 找不到符号
符号: 类 LocalContainerEntityManagerFactoryBean
位置: 类 com.jointsky.exportexcel.config.SecondaryConfig
[INFO] 7 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.633 s
[INFO] Finished at: 2018-10-12T17:58:06+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project exportexcel: Compilation failure: Compilation failure:
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/service/ManualNoiseServiceImpl.java:[9,33] 程序包org.mockito.internal.util不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/PrimaryConfig.java:[12,35] 程序包org.springframework.orm.jpa不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/PrimaryConfig.java:[13,35] 程序包org.springframework.orm.jpa不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/PrimaryConfig.java:[40,12] 找不到符号
[ERROR] 符号: 类 LocalContainerEntityManagerFactoryBean
[ERROR] 位置: 类 com.jointsky.exportexcel.config.PrimaryConfig
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/SecondaryConfig.java:[11,35] 程序包org.springframework.orm.jpa不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/SecondaryConfig.java:[12,35] 程序包org.springframework.orm.jpa不存在
[ERROR] /F:/java_code/exportexcel/src/main/java/com/jointsky/exportexcel/config/SecondaryConfig.java:[37,12] 找不到符号
[ERROR] 符号: 类 LocalContainerEntityManagerFactoryBean
[ERROR] 位置: 类 com.jointsky.exportexcel.config.SecondaryConfig
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException