当前位置: 动力学知识库 > 问答 > 编程问答 >

maven - Compile failure in Jenkins

问题描述:

I have a following class in my project

public class SOAPJMSDataHandler extends SOAPDataHandler implements

WPSBindingContext

When building the code ,maven throws below error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) on project AS_JAVA_Common_V1: Compilation failure

[ERROR] /data/jenkins/workspace/BillingAdapter-1612.0.0/AS_JAVA_Common_V1/src/com/nbn/bcp/util/binding/soapjms/SOAPJMSDataHandler.java:[419,30] error: cannot access ElementNSImpl

[ERROR] -> [Help 1]

[ERROR]

the error is coming from below line

SOAPFactory soapFactory = ((SOAPElement) soapMessage.getSOAPBody())

.getSOAPFactory();

I am not able to fix the error?Please advice

I am compiling with JDK 7.

分享给朋友:
您可能感兴趣的文章:
随机阅读: