maven
文章平均质量分 65
fasdfkjpwoef
一步难一步佳,做人总要信,最重要有一个顶
展开
-
解决org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter)报错问题
团队开发有的用IDEA工具,有的用MyEclipse工具,而我用Eclipse工具.在开发过种中,从GIT上拉下代码后,就发现pom.xml报org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter)这个错了,如下图: 后续看了一下在pox.xml中提交多添加如下内容:<plugin> ...原创 2016-08-01 15:30:33 · 847 阅读 · 0 评论 -
Unable to find javadoc command: The environment variable JAVA_HOME is not set
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project inter-core: MavenReportException: Error while creating archive: Unable to find java...原创 2016-09-09 23:27:15 · 3502 阅读 · 0 评论 -
eclipse中maven update project 后jdk版本变为1.5
问题描述如题,解决方法就是在pom.xml当中添加如下代码<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifa...原创 2016-11-04 11:14:40 · 194 阅读 · 0 评论 -
解决maven创建web项目时报Could not resolve archetype org.apache.maven.archetypes错误
错误信息如下: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories. 分析一下原因: Eclipse升级不成功后,一气之下重新安装了一个新版本.Maven之前的Eclipse版本中使用...原创 2016-11-15 09:52:13 · 91 阅读 · 0 评论 -
版本问题导致的坑--java.sql.SQLException: com.mysql.jdbc.Driver
直入主題,如下错误信息org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in URL [file:/Users/shuang/git/excel-file-import/excel-file-import/target/clas...原创 2017-06-27 16:39:18 · 4922 阅读 · 0 评论