You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Sergey Beryozkin <se...@progress.com> on 2008/10/21 18:52:45 UTC

2.1.4-SNAPSHOT compilation problem

Hi,

I'm seeing this compilation problem on 2.1.4-SNAPSHOT :

[INFO] -------------------------------------------------------------------
[INFO] Building Apache CXF Command Line Tools WSDLTo JAXWS Frontend
[INFO]    task-segment: [install]
[INFO] -------------------------------------------------------------------
[INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to D:\Work\CXF\2.1.x\tools\wsdlto\frontend\
target\classes
[INFO] -------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] -------------------------------------------------------------------
[INFO] Compilation failure
error: in class file D:\Work\CXF\m2\org\apache\geronimo\specs\geronimo-ws-
ta_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_spec-1.1.2.jar(javax/jws/soap/S
ding.class): unknown enum constant javax.jws.soap.SOAPBinding.Style.DOCUME

Is it compiling ok for others ?

Thanks, Sergey


Re: 2.1.4-SNAPSHOT compilation problem

Posted by Sergey Beryozkin <se...@progress.com>.
I just recompiled the tool/wsdlto/frontend/jaxws locally and then 'mvn install' went ok from the root folder. Not sure what the 
problem was...

Cheers, Sergey

----- Original Message ----- 
From: "Sergey Beryozkin" <se...@progress.com>
To: <de...@cxf.apache.org>
Sent: Wednesday, October 22, 2008 10:19 AM
Subject: Re: 2.1.4-SNAPSHOT compilation problem


> Hi Willem
>
> I got rid of m2_repo/org.apache.cxf, m2_repo/org.apache.geronimo and m2_repo/javax folders and I'm still getting this error, I'm 
> compiling on Windows. Hmm...I'll give it another try.
>
> Cheers, Sergey
>
> ----- Original Message ----- 
> From: "Willem Jiang" <wi...@gmail.com>
> To: <de...@cxf.apache.org>
> Sent: Wednesday, October 22, 2008 3:51 AM
> Subject: Re: 2.1.4-SNAPSHOT compilation problem
>
>
>> Hi Sergey,
>>
>> I didn't get the error that you met.
>> Did you try to remove the geronimo-ws-metadata_2.0_spec-1.1.2.jar from
>> the maven repo
>> org\apache\geronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2 and run
>> the build again?
>>
>> Willem
>>
>> Sergey Beryozkin wrote:
>>> Hi,
>>>
>>> I'm seeing this compilation problem on 2.1.4-SNAPSHOT :
>>>
>>> [INFO] -------------------------------------------------------------------
>>> [INFO] Building Apache CXF Command Line Tools WSDLTo JAXWS Frontend
>>> [INFO]    task-segment: [install]
>>> [INFO] -------------------------------------------------------------------
>>> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
>>> [INFO] [remote-resources:process {execution: default}]
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:compile]
>>> [INFO] Compiling 1 source file to D:\Work\CXF\2.1.x\tools\wsdlto\frontend\
>>> target\classes
>>> [INFO] -------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO] -------------------------------------------------------------------
>>> [INFO] Compilation failure
>>> error: in class file D:\Work\CXF\m2\org\apache\geronimo\specs\geronimo-ws-
>>> ta_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_spec-1.1.2.jar(javax/jws/soap/S
>>> ding.class): unknown enum constant javax.jws.soap.SOAPBinding.Style.DOCUME
>>>
>>> Is it compiling ok for others ?
>>>
>>> Thanks, Sergey
>>>
>>>
>>
> 


Re: 2.1.4-SNAPSHOT compilation problem

Posted by Sergey Beryozkin <se...@progress.com>.
Hi Willem

I got rid of m2_repo/org.apache.cxf, m2_repo/org.apache.geronimo and m2_repo/javax folders and I'm still getting this error, I'm 
compiling on Windows. Hmm...I'll give it another try.

Cheers, Sergey

----- Original Message ----- 
From: "Willem Jiang" <wi...@gmail.com>
To: <de...@cxf.apache.org>
Sent: Wednesday, October 22, 2008 3:51 AM
Subject: Re: 2.1.4-SNAPSHOT compilation problem


> Hi Sergey,
>
> I didn't get the error that you met.
> Did you try to remove the geronimo-ws-metadata_2.0_spec-1.1.2.jar from
> the maven repo
> org\apache\geronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2 and run
> the build again?
>
> Willem
>
> Sergey Beryozkin wrote:
>> Hi,
>>
>> I'm seeing this compilation problem on 2.1.4-SNAPSHOT :
>>
>> [INFO] -------------------------------------------------------------------
>> [INFO] Building Apache CXF Command Line Tools WSDLTo JAXWS Frontend
>> [INFO]    task-segment: [install]
>> [INFO] -------------------------------------------------------------------
>> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
>> [INFO] [remote-resources:process {execution: default}]
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> [INFO] Compiling 1 source file to D:\Work\CXF\2.1.x\tools\wsdlto\frontend\
>> target\classes
>> [INFO] -------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO] -------------------------------------------------------------------
>> [INFO] Compilation failure
>> error: in class file D:\Work\CXF\m2\org\apache\geronimo\specs\geronimo-ws-
>> ta_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_spec-1.1.2.jar(javax/jws/soap/S
>> ding.class): unknown enum constant javax.jws.soap.SOAPBinding.Style.DOCUME
>>
>> Is it compiling ok for others ?
>>
>> Thanks, Sergey
>>
>>
> 


Re: 2.1.4-SNAPSHOT compilation problem

Posted by Willem Jiang <wi...@gmail.com>.
Hi Sergey,

I didn't get the error that you met.
Did you try to remove the geronimo-ws-metadata_2.0_spec-1.1.2.jar from
the maven repo
org\apache\geronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2 and run
the build again?

Willem

Sergey Beryozkin wrote:
> Hi,
> 
> I'm seeing this compilation problem on 2.1.4-SNAPSHOT :
> 
> [INFO] -------------------------------------------------------------------
> [INFO] Building Apache CXF Command Line Tools WSDLTo JAXWS Frontend
> [INFO]    task-segment: [install]
> [INFO] -------------------------------------------------------------------
> [INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 1 source file to D:\Work\CXF\2.1.x\tools\wsdlto\frontend\
> target\classes
> [INFO] -------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] -------------------------------------------------------------------
> [INFO] Compilation failure
> error: in class file D:\Work\CXF\m2\org\apache\geronimo\specs\geronimo-ws-
> ta_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_spec-1.1.2.jar(javax/jws/soap/S
> ding.class): unknown enum constant javax.jws.soap.SOAPBinding.Style.DOCUME
> 
> Is it compiling ok for others ?
> 
> Thanks, Sergey
> 
>