testCompile (default-testCompile) on project hadoop-auth解决办法
来源:互联网 发布:数据采集兼职 编辑:程序博客网 时间:2024/06/09 21:10
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project hadoop-auth: Compilation failure: Compilation failure:
[ERROR] /home/chuan/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/client/AuthenticatorTestCase.java:[84,13] cannot access org.mortbay.component.AbstractLifeCycle
[ERROR] class file for org.mortbay.component.AbstractLifeCycle not found
bug patch地址:https://issues.apache.org/jira/browse/hadoop-10110
方法:修改hadoop源码目录下的hadoop-common-project/hadoop-auth/pom.xml
添加或修改如下部分内容:
<dependency>
<groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-util</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<scope>test</scope>
</dependency>
0 0
- testCompile (default-testCompile) on project hadoop-auth解决办法
- execution: default-testCompile, phase: test-compile
- maven build 缺少 default-compile或者default-testcompile的错误
- testCompile 'junit:junit:4.12'
- logback-classic 使用testCompile打包问题
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
- AndroidStudio 编译时遇到:Error:(246, 0) Gradle DSL method not found: 'testCompile()' (或者其他)问题
- 建立Maven项目报错:org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
- 【github】project is already on GitHub解决办法
- 【github】project is already on GitHub解决办法
- eclipse Unable Run on hadoop? 解决办法
- eclipse Unable Run on hadoop? 解决办法
- hadoop Safe mode is ON 的解决办法
- MyEclipse10 Errors running builder 'DeploymentBuilder' on project 问题的解决办法
- Errors running builder 'Android Package Builder' on project 解决办法
- Errors running builder 'Android Package Builder' on project 解决办法
- Failed to execute goal com.github.wvengen:proguard-maven-plugin:2.0.10:proguard (default) on project
- execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project taotao
- 64位win8.1企业版离线安装.net3.5
- API创建员工支付方式
- java中的日期处理
- Unity客户端连接java服务端并通过json的形式接收数据-客户端
- 南邮-1989-数字三角形
- testCompile (default-testCompile) on project hadoop-auth解决办法
- JVM 深入笔记(2)各内存区溢出场景模拟
- MyEclipse中SVN的使用方法
- OCP-1Z0-新051-61题版本-11
- API创建员工地址
- OCP-1Z0-新051-61题版本-12
- OCP-1Z0-新051-61题版本-13
- 成功的钥匙?毅力——2013总结(经历)
- OCP-1Z0-新051-61题版本-14