已阅读5页,还剩2页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Eclipse初次java开发问题总结-4-Maven使用问题汇总 Non-resolvable parent POMINFO Scanning for projects.ERROR The build could not read 1 project - Help 1ERROR ERROR The project com.iflytek.ossp:ossp-resserver-service:1.0.0-SNAPSHOT (C:UsersmoonDesktopossp-resservice-mavenossp-resserver-servicepom.xml) has 1 errorERROR Non-resolvable parent POM: Could not find artifact com.iflytek.ossp:ossp-resserver-all:pom:1.0.0-SNAPSHOT and parent.relativePath points at wrong local POM line 11, column 10 - Help 2ERROR 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 /confluence/display/MAVEN/ProjectBuildingExceptionERROR Help 2 /confluence/display/MAVEN/UnresolvableModelException无法解析父级的POM文件,应该是是POM文件中使用了继承。 com.iflytek.ossp ossp-resserver-all 1.0.0-SNAPSHOT可以尝试加入 com.iflytek.ossp ossp-resserver-all 1.0.0-SNAPSHOT ./ossp-resserver-all/pom.xmlUnable to locate the Javac Compiler inFailed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project ossp-resserver-service: Compilation failureERROR Unable to locate the Javac Compiler in:ERROR C:Javajre6.libtools.jarERROR Please ensure you are using JDK 1.4 or above andERROR not a JRE (the com.sun.tools.javac.Main class is required).ERROR In most cases you can change the location of your JavaERROR installation by setting the JAVA_HOME environment variable.ERROR - Help 1ERROR 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 /confluence/display/MAVEN/MojoFailureException出现类似的错误应该是Jre配置问题:右击项目-Java Buid Path-Libraries-JRE-Edit-Install JREs.-Edit-JRE system libraries-Add External JREs.-找到缺少的jar(toos.jar)添加进去。No goals have been specified for this build.Maven Buid时出现下面这个错误:ERROR No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format : or :. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. - Help 1ERROR 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 /confluence/display/MAVEN/NoGoalSpecifiedException是因为没有指定buid goal,在POM文件中的buid节中加入默认值就行了。compile将第三方jar包发布到私服1、首先要修改eclipse中的Maven配置。不要使用内嵌的默认配置。指向Maven的安装目录。
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年诊所扩展合作协议
- 2026年商业养老保险合同
- 上海浦东新区2025-2026学年高一上化学期中监测模拟试题含解析
- 丹毒下肢个案护理
- 大动脉转位术后心律失常个案护理
- 许昌陶瓷职业学院《社会调查方法实验》2024-2025学年第一学期期末试卷
- 陕西省榆林一中2025-2026学年生物高一第一学期期末质量检测试题含解析
- 肾肉芽肿的护理
- 静脉输液护理要点
- 新生儿鱼鳞病外出护理:安全与舒适兼顾
- (2026)糖尿病患者的护理课件
- 2025及未来5年步进电机铁芯冲片项目投资价值分析报告
- 药店医保人员合同范本
- 2025巴彦淖尔市交通投资(集团)有限公司(第一批)招聘40人笔试备考试题附答案
- 《汽车结构认识》职校汽修专业全套教学课件
- 《小额贷款公司监督管理暂行办法》测试竞赛考试练习题库(附答案)
- (一模)新疆维吾尔自治区2025年普通高考第一次适应性检测 文科综合试卷(含答案)
- 第四讲大力推进现代化产业体系建设-形势与政策
- MOOC 跨文化交际通识通论-扬州大学 中国大学慕课答案
- midas软件-参数gen实用手册
- 配电设备的检修维护施工方案
评论
0/150
提交评论