




已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年实操手册中医执业医师高级面试宝典预测题与答案详解
- 2025年初级数据分析师面试模拟题及答案
- 幼儿园家具与设施采购与配置方案
- 桥梁通车验收与质量检验方案
- 园林景观生态环境保护方案
- 道路路面结构设计方案
- 2025年具身智能环境适应性试题(含答案与解析)
- 排水工程质量通病防治措施
- 人机协同助力生物学单元作业设计
- 综合部技术支持职责
- 牛奶加工工艺流程
- 《教室不乱跑》课件
- 2024年婴幼儿托育服务与管理专业人才培养方案调研报告
- 支教考试笔试试题真题及答案
- 地震破拆技术课件
- 致密油藏中CO2驱油机理研究
- 2025年高校教师岗前培训高等教育心理学知识竞赛考试题库50题及答案
- 电动港机装卸机械司机(高级技师)职业技能鉴定理论考试题(附答案)
- 无人机打药合同协议书
- 餐饮公司中标协议书
- 乡村振兴文化旅游发展规划
评论
0/150
提交评论