cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pankaj Gaur <gaur_pan...@yahoo.com.INVALID>
Subject Re: Build error
Date Wed, 15 Feb 2017 12:01:12 GMT
Still its a no-go. Itried to look into 2.0.10 version for WSS4J and it resolved my problem
however it caused other compile issues.Any help is appreciated.-pankaj

      From: Colm O hEigeartaigh <coheigea@apache.org>
 To: "dev@cxf.apache.org" <dev@cxf.apache.org>; Pankaj Gaur <gaur_pankaj@yahoo.com>

 Sent: Wednesday, 15 February 2017 2:52 PM
 Subject: Re: Build error
   
Have you tried updating the WSS4J source that you have? Alternatively try using maven with
"-U".

Colm.

On Wed, Feb 15, 2017 at 8:38 AM, Pankaj Gaur <gaur_pankaj@yahoo.com.invalid> wrote:

I checked with the cxf-parent and they have used 2.20-snapshot as well however the class in
concern has diff. signature.-pankaj

      From: Pankaj Gaur <gaur_pankaj@yahoo.com.INVALID >
 To: "dev@cxf.apache.org" <dev@cxf.apache.org>
 Sent: Wednesday, 15 February 2017 1:55 PM
 Subject: Re: Build error

Hi All,I tried with latest i.e 2.2.0-SNAPSHOT for WSS4J however the signatures are diff.Is
the cxf trunk compiled with earlier WSS4J version.thanks,pankaj

      From: Freeman Fang <freeman.fang@gmail.com>
 To: dev@cxf.apache.org; Pankaj Gaur <gaur_pankaj@yahoo.com>
 Sent: Tuesday, 14 February 2017 5:48 PM
 Subject: Re: Build error
 
Hi,

Seems the wss4j 2.2-SNAPSHOT you pulling isn’t the latest. You can
svn co https://svn.apache.org/repos/ asf/webservices/wss4j/trunk <https://svn.apache.org/repos/
asf/webservices/wss4j/trunk>

and build the wss4j project first, and this won’t take long time
-------------
Freeman(Yue) Fang

Red Hat, Inc.
FuseSource is now part of Red Hat



> On Feb 14, 2017, at 7:55 PM, Pankaj Gaur <gaur_pankaj@yahoo.com.INVALID > wrote:
>
> Hi All,I forked the repo and tried building (mvn install -Pfastinstall -Psetup.eclipse
) i was facing this error
>
>  Failed to execute goal org.apache.maven.plugins: maven-compiler-plugin:3.3: compile
(default-compile) on project cxf-rt-ws-security: Compilation failure: Compilation failure:[ERROR]
/C:/Users/pankaj.gaur/ gitcodebase/cxf/rt/ws/ security/src/main/java/org/ apache/cxf/ws/security/wss4j/
SamlTokenInterceptor.java:[ 189,17] method handleToken in class org.apache.wss4j.dom. processor.SAMLTokenProcessor
cannot be applied to given types;[ERROR] required: org.w3c.dom.Element,org. apache.wss4j.dom.handler.
RequestData[ERROR] found: org.w3c.dom.Element,org. apache.wss4j.dom.handler. RequestData,org.apache.wss4j.
dom.WSDocInfo[ERROR] reason: actual and formal argument lists differ in length[ERROR] /C:/Users/pankaj.gaur/
gitcodebase/cxf/rt/ws/ security/src/main/java/org/ apache/cxf/ws/security/wss4j/ policyvalidators/
AbstractSupportingTokenPolicyV alidator.java:[326,43] incompatible types: org.apache.wss4j.policy.model.
EncryptedParts cannot be converted to org.apache.wss4j.policy.model. SignedParts[ERROR] /C:/Users/pankaj.gaur/
gitcodebase/cxf/rt/ws/ security/src/main/java/org/ apache/cxf/ws/security/wss4j/ UsernameTokenInterceptor.java:
[230,18] method handleToken in class org.apache.wss4j.dom. processor. UsernameTokenProcessor
cannot be applied to given types;[ERROR] required: org.w3c.dom.Element,org. apache.wss4j.dom.handler.
RequestData[ERROR] found: org.w3c.dom.Element,org. apache.wss4j.dom.handler. RequestData,org.apache.wss4j.
dom.WSDocInfo[ERROR] reason: actual and formal argument lists differ in length[ERROR] /C:/Users/pankaj.gaur/
gitcodebase/cxf/rt/ws/ security/src/main/java/org/ apache/cxf/ws/security/trust/ AbstractSTSClient.java:[1589,
51] incompatible types: org.apache.wss4j.dom.WSDocInfo cannot be converted to org.apache.wss4j.common.
crypto.AlgorithmSuite[ERROR] /C:/Users/pankaj.gaur/ gitcodebase/cxf/rt/ws/ security/src/main/java/org/
apache/cxf/ws/security/wss4j/ BinarySecurityTokenInterceptor .java:[118,14] method handleToken
in class org.apache.wss4j.dom. processor. BinarySecurityTokenProcessor cannot be applied to
given types;[ERROR] required: org.w3c.dom.Element,org. apache.wss4j.dom.handler. RequestData[ERROR]
found: org.w3c.dom.Element,org. apache.wss4j.dom.handler. RequestData,org.apache.wss4j. dom.WSDocInfo[ERROR]
reason: actual and formal argument lists differ in length
> please let me know what am i missing in this case.-pankaj


 

   



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com


   
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message