




已阅读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年广东省水泥项目商业计划书
- 2025年文化馆装修可行性研究报告
- 2025年秋外研版(三起)(2024)小学英语三年级上册(期末)综合词汇句子专项训练题及答案
- 2025年黄冈市数字发展研究中心公开招聘工作人员1人考试参考试题及答案解析
- 2025年中国聚丙烯硬质塑料包装行业市场分析及投资价值评估前景预测报告
- 2025年救护车司机驾驶员资格考试考前真题训练题库及答案
- 软件系统交付流程规范与管理办法
- 2025贵州毕节市七星关区招聘城市社区工作者186人模拟试卷及答案详解(夺冠)
- 公路工程重大风险安全管控方案
- 《市场监管部门标识规范》编制说明
- 学校工作汇报会议
- 元气森林营销活动
- XXX药店二类医疗器械零售经营备案质量管理制度
- 2025江苏连云港东海县部分机关事业单位招聘劳动合同制工作人员6人考试参考试题及答案解析
评论
0/150
提交评论