Comments (4)
看看你的Java home: D:\idea\Java\jdkV7\jdk1.7.0_45\jre
你多了一个jre
------------------ 原始邮件 ------------------
发件人: "taolive";
发送时间: 2014年3月4日(星期二) 晚上10:34
收件人: "ysc/APDPlat";
主题: [APDPlat] APDPlat Install错误 (#53)
开发环境:
Maven home: E:\个人记录\open_source\maven\apache-maven-3.2.1\bin..
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: D:\idea\Java\jdkV7\jdk1.7.0_45\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
在命令行先mvn clean、mvn compile、mvn install
前面2步都操作成功,执行mvn install时,提示以下问题:
[INFO] APDPlat_Core ...................................... FAILURE [ 26.460 s]
[INFO] APDPlat_Module .................................... SKIPPED
[INFO] APDPlat_Web ....................................... SKIPPED
[INFO] APDPlat ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.797 s
[INFO] Finished at: 2014-03-04T22:22:53+08:00
[INFO] Final Memory: 56M/134M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
14:test (default-test) on project APDPlat_Core: Execution default-test of goal o
rg.apache.maven.plugins:maven-surefire-plugin:2.14:test failed: Unable to load t
he mojo 'test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin:2.1
4'. A required class is missing: org/apache/maven/plugin/surefire/SurefireReport
Parameters
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-surefire-plugin:2.14
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/D:/idea/maven/repository/org/apache/maven/plugins/maven-
surefire-plugin/2.14/maven-surefire-plugin-2.14.jar
注:都是使用命令行敲命令运行,不是依赖具体的IDEA编程工具
—
Reply to this email directly or view it on GitHub.
from apdplat.
使用mvn -v ,输出的java_home 确实多了个jre
但是使用set命令,看输出的java_home是正常的
在maven配置,没看到可以给它设置java_home的地方呀
帮忙指教下,谢谢!
------------------ 原始邮件 ------------------
发件人: "杨尚川";[email protected];
发送时间: 2014年3月5日(星期三) 中午11:02
收件人: "ysc/APDPlat"[email protected];
抄送: "拖拉机闯高速"[email protected];
主题: Re: [APDPlat] APDPlat Install错误 (#53)
Closed #53.
—
Reply to this email directly or view it on GitHub.
from apdplat.
给你参考一下我的输出,我是64位win7和jdk:
C:\Windows\System32>mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800)
Maven home: C:\apache-maven-3.0.4\bin..
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_51\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
from apdplat.
你的也是mvn -v 输出的JAVA_home 也是多了个jre,应该和这个无关才对,
哪应该是什么原因导致 mvn install 无法正常通过呢?
------------------ 原始邮件 ------------------
发件人: "杨尚川";[email protected];
发送时间: 2014年3月5日(星期三) 中午11:35
收件人: "ysc/APDPlat"[email protected];
抄送: "拖拉机闯高速"[email protected];
主题: Re: [APDPlat] APDPlat Install错误 (#53)
给你参考一下我的输出,我是64位win7和jdk:
C:\Windows\System32>mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800)
Maven home: C:\apache-maven-3.0.4\bin..
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_51\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
—
Reply to this email directly or view it on GitHub.
from apdplat.
Related Issues (20)
- 启动APDPlat_Web错误 HOT 2
- 项目运行问题集 HOT 3
- 编译过程中的问题 HOT 1
- 代码生成存在Bug HOT 4
- 代码生成建议生成默认的模块树形菜单图标 HOT 1
- 编译错误(2.5版本) HOT 1
- core、module编译jar,不能自动发布,强烈建议将core、module、web合并在一起,这样能提高开发效率!川哥是否可以做一下,或者给出方法,我们来弄 HOT 2
- Help:操作权限配置问题 HOT 1
- 打开混淆JAVA代码以及混淆压缩JS和CSS 后出错 HOT 1
- 2.6报这个错误了? HOT 1
- 新建的项目启动,初始化错误 HOT 1
- InfoType is not mapped HOT 1
- APDPlat2.6运行报错 HOT 1
- javax.servlet.ServletException: File [/platform/include/topnav_apdplat.jsp] not found HOT 1
- 自动生成代码的问题 HOT 1
- 构建APDPlat项目中总是发现有Could not transfer metadata com.github.jnr:jffi/maven-metadata.xml 的警告
- CMD模式启动APDPlat报错 HOT 4
- 执行startup.sh失败 HOT 1
- 执行startup.bat,出现 “java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)“ HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apdplat.