问题描述:

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.

相关阅读:
Top