You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by vkrejcirik <vk...@gmail.com> on 2008/12/30 21:07:20 UTC

cxf-wsdl-first

Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from examples by 
mvn command. I get this error:

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure
C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se
rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find symbol
symbol  : method 
getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd
l_first.Person>,javax.xml.ws.WebServiceFeature[])
location: class javax.xml.ws.Service



C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se
rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find symbol
symbol  : method 
getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd
l_first.Person>,javax.xml.ws.WebServiceFeature[])
location: class javax.xml.ws.Service


[INFO] 
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se
rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find symbol
symbol  : method 
getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd
l_first.Person>,javax.xml.ws.WebServiceFeature[])
location: class javax.xml.ws.Service


        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:579)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec
ycleExecutor.java:499)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.
java:478)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL
ifecycleExecutor.java:330)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE
xecutor.java:291)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: 
Compilation failure
C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se
rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find symbol
symbol  : method 
getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd
l_first.Person>,javax.xml.ws.WebServiceFeature[])
location: class javax.xml.ws.Service


        at 
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at 
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:558)
        ... 16 more

-- 
/**************************************/
Best regards / S pozdravem
Vladislav Krejčiřík

http://www.vkrejcirik.info


Re: cxf-wsdl-first

Posted by vkrejcirik <vk...@gmail.com>.
Hi, I'm using java version 1.6.0_11, so I will try latest version and 
jaxws 2.1, thank you.

/**************************************/
Best regards / S pozdravem
Vladislav Krejčiřík

http://www.vkrejcirik.info



Freeman Fang napsal(a):
> Hi,
> You are using early version of JDK 1.6, right? which ships with jaxws 
> 2.0 api, but what we need here is jaxws 2.1 api.
> Try to use JDK 1.5 or latest JDK 1.6.
>
> Freeman
>
> vkrejcirik wrote:
>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from examples 
>> by mvn command. I get this error:
>>
>> [INFO] 
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>
>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>> symbol
>> symbol  : method 
>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>
>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>> location: class javax.xml.ws.Service
>>
>>
>>
>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>
>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>> symbol
>> symbol  : method 
>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>
>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>> location: class javax.xml.ws.Service
>>
>>
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.BuildFailureException: Compilation failure
>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>
>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>> symbol
>> symbol  : method 
>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>
>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>> location: class javax.xml.ws.Service
>>
>>
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>
>> .java:579)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>
>> ycleExecutor.java:499)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>
>> java:478)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>
>> ifecycleExecutor.java:330)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>
>> xecutor.java:291)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>
>> :142)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>
>>        at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at 
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>        at 
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: org.apache.maven.plugin.CompilationFailureException: 
>> Compilation failure
>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>
>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>> symbol
>> symbol  : method 
>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>
>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>> location: class javax.xml.ws.Service
>>
>>
>>        at 
>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>
>>        at 
>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>>        at 
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>
>> .java:558)
>>        ... 16 more
>>
>

Re: cxf-wsdl-first

Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Any chance you post whole log when you start smx?
I believe that's same jaxws version issue, but not sure why you see it 
on windows.
I'm downloading JDK 16_11 and will try it on my linux box, to see if I 
can reproduce the error you see.
Freeman

vkrejcirik wrote:
> I have another problem. When I try to deploy this zip archive to SMX 
> (copy to hotdeploy directory), i give error message about
> Target component servicemix-cxf-se for service unit 
> wsdl-first-cxfse-su is not started
> Target component servicemix-cxf-bc for service unit 
> wsdl-first-cxfbc-su is not started
>
> I think, that these services are automaticaly installed, ok?
>
> I have this problem also one month ago with another service example.
>
>
> /**************************************/
> Best regards / S pozdravem
> Vladislav Krejčiřík
>
> http://www.vkrejcirik.info
>
>
>
> Freeman Fang napsal(a):
>> Hi,
>> I think for jdk1.5 you needn't change the pom.
>> Btw, would you please create a jira ticket for it so that we won't 
>> forget the fix?
>>
>> Thanks
>> Freeman
>>
>>
>> vkrejcirik wrote:
>>> I added this element to the pom.xml in cxfse-su.
>>> When I tried to run it with java 1.6 update 11,  it was ok.
>>> When I tried to run it with java 1.5, I have the same problem.
>>> Yes, I'm in Windows.
>>>
>>> /**************************************/
>>> Best regards / S pozdravem
>>> Vladislav Krejčiřík
>>>
>>> http://www.vkrejcirik.info
>>>
>>>
>>>
>>> Freeman Fang napsal(a):
>>>> Hi,
>>>> Edit ./wsdl-first-cxfse-su/pom.xml,
>>>> add   <exclusions>
>>>>               <exclusion>
>>>>                   <groupId>javax.xml.ws</groupId>
>>>>                   <artifactId>jaxws-api</artifactId>
>>>>               </exclusion>
>>>>            </exclusions>
>>>> For servicemix-cxf-se dependency.
>>>> But if your jdk shipped with jaxws 2.0 api, then this fix doesn't 
>>>> work, you need create endorse folder for your jdk and put jaxws-api 
>>>> 2.1 jar in it.
>>>> I notice you are are windows.
>>>> I use sun jdk 1.6.0_06 on linux but can't reproduce the error you see.
>>>> Can you try with jdk 1.5 on your platform?
>>>> Freeman
>>>>
>>>> vkrejcirik wrote:
>>>>> So, in dependency tree in CXF SE  is jaxws-api 2.1-1.
>>>>> In section for CXF BC is this: 
>>>>> javax.xml.ws:jaxws-api:jar:2.0:compile (version managed from 2.1-1).
>>>>> In section CXF SA is javax.xml.ws:jaxws-api:jar:2.0:compile for 
>>>>> org.apache.servicemix:servicemix-cxf-se.
>>>>> .
>>>>>
>>>>>
>>>>>
>>>>> /**************************************/
>>>>> Best regards / S pozdravem
>>>>> Vladislav Krejčiřík
>>>>>
>>>>> http://www.vkrejcirik.info
>>>>>
>>>>>
>>>>>
>>>>> Gert Vanthienen napsal(a):
>>>>>> Vladislav,
>>>>>>
>>>>>> Could you try running mvn dependency:tree?  This will give you a 
>>>>>> tree of the dependencies of your project and it should give you 
>>>>>> an idea of where this version of jaxws-api is coming from.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Gert
>>>>>>
>>>>>> vkrejcirik schreef:
>>>>>>> Hi, I'm using JDK 1.6 update 11, it's the latest version, I 
>>>>>>> think. In pom.xml is jaxws-api 2.1-1, but when I run 'mvn 
>>>>>>> install', it downloads jaxws-api 2.0.
>>>>>>>
>>>>>>> /**************************************/
>>>>>>> Best regards / S pozdravem
>>>>>>> Vladislav Krejčiřík
>>>>>>>
>>>>>>> http://www.vkrejcirik.info
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Freeman Fang napsal(a):
>>>>>>>> Hi,
>>>>>>>> You are using early version of JDK 1.6, right? which ships with 
>>>>>>>> jaxws 2.0 api, but what we need here is jaxws 2.1 api.
>>>>>>>> Try to use JDK 1.5 or latest JDK 1.6.
>>>>>>>>
>>>>>>>> Freeman
>>>>>>>>
>>>>>>>> vkrejcirik wrote:
>>>>>>>>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from 
>>>>>>>>> examples by mvn command. I get this error:
>>>>>>>>>
>>>>>>>>> [INFO] 
>>>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>>>
>>>>>>>>> [ERROR] BUILD FAILURE
>>>>>>>>> [INFO] 
>>>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>>>
>>>>>>>>> [INFO] Compilation failure
>>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>>
>>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>>> find symbol
>>>>>>>>> symbol  : method 
>>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>>
>>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>>
>>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>>> find symbol
>>>>>>>>> symbol  : method 
>>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>>
>>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> [INFO] 
>>>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>>>
>>>>>>>>> [INFO] Trace
>>>>>>>>> org.apache.maven.BuildFailureException: Compilation failure
>>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>>
>>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>>> find symbol
>>>>>>>>> symbol  : method 
>>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>>
>>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>>>>
>>>>>>>>> .java:579)
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>>>>>>>>
>>>>>>>>> ycleExecutor.java:499)
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>>>>>>>>
>>>>>>>>> java:478)
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>>>>>>>>
>>>>>>>>> ifecycleExecutor.java:330)
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>>>>>>>>
>>>>>>>>> xecutor.java:291)
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>>>>>>>>
>>>>>>>>> :142)
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>>>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>>>>>>>>> Method)
>>>>>>>>>        at 
>>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>>>>>>>
>>>>>>>>>        at 
>>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>>>>>>>
>>>>>>>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>>>>        at 
>>>>>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) 
>>>>>>>>>
>>>>>>>>>        at 
>>>>>>>>> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>>>>>        at 
>>>>>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
>>>>>>>>>
>>>>>>>>>        at 
>>>>>>>>> org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>>>>>> Caused by: 
>>>>>>>>> org.apache.maven.plugin.CompilationFailureException: 
>>>>>>>>> Compilation failure
>>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>>
>>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>>> find symbol
>>>>>>>>> symbol  : method 
>>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>>
>>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>>>>>>>>
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) 
>>>>>>>>>
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>>>>>>>
>>>>>>>>>        at 
>>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>>>>
>>>>>>>>> .java:558)
>>>>>>>>>        ... 16 more
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


Re: cxf-wsdl-first

Posted by vkrejcirik <vk...@gmail.com>.
I have another problem. When I try to deploy this zip archive to SMX 
(copy to hotdeploy directory), i give error message about
Target component servicemix-cxf-se for service unit wsdl-first-cxfse-su 
is not started
Target component servicemix-cxf-bc for service unit wsdl-first-cxfbc-su 
is not started

I think, that these services are automaticaly installed, ok?

I have this problem also one month ago with another service example.


/**************************************/
Best regards / S pozdravem
Vladislav Krejčiřík

http://www.vkrejcirik.info



Freeman Fang napsal(a):
> Hi,
> I think for jdk1.5 you needn't change the pom.
> Btw, would you please create a jira ticket for it so that we won't 
> forget the fix?
>
> Thanks
> Freeman
>
>
> vkrejcirik wrote:
>> I added this element to the pom.xml in cxfse-su.
>> When I tried to run it with java 1.6 update 11,  it was ok.
>> When I tried to run it with java 1.5, I have the same problem.
>> Yes, I'm in Windows.
>>
>> /**************************************/
>> Best regards / S pozdravem
>> Vladislav Krejčiřík
>>
>> http://www.vkrejcirik.info
>>
>>
>>
>> Freeman Fang napsal(a):
>>> Hi,
>>> Edit ./wsdl-first-cxfse-su/pom.xml,
>>> add   <exclusions>
>>>               <exclusion>
>>>                   <groupId>javax.xml.ws</groupId>
>>>                   <artifactId>jaxws-api</artifactId>
>>>               </exclusion>
>>>            </exclusions>
>>> For servicemix-cxf-se dependency.
>>> But if your jdk shipped with jaxws 2.0 api, then this fix doesn't 
>>> work, you need create endorse folder for your jdk and put jaxws-api 
>>> 2.1 jar in it.
>>> I notice you are are windows.
>>> I use sun jdk 1.6.0_06 on linux but can't reproduce the error you see.
>>> Can you try with jdk 1.5 on your platform?
>>> Freeman
>>>
>>> vkrejcirik wrote:
>>>> So, in dependency tree in CXF SE  is jaxws-api 2.1-1.
>>>> In section for CXF BC is this: 
>>>> javax.xml.ws:jaxws-api:jar:2.0:compile (version managed from 2.1-1).
>>>> In section CXF SA is javax.xml.ws:jaxws-api:jar:2.0:compile for 
>>>> org.apache.servicemix:servicemix-cxf-se.
>>>> .
>>>>
>>>>
>>>>
>>>> /**************************************/
>>>> Best regards / S pozdravem
>>>> Vladislav Krejčiřík
>>>>
>>>> http://www.vkrejcirik.info
>>>>
>>>>
>>>>
>>>> Gert Vanthienen napsal(a):
>>>>> Vladislav,
>>>>>
>>>>> Could you try running mvn dependency:tree?  This will give you a 
>>>>> tree of the dependencies of your project and it should give you an 
>>>>> idea of where this version of jaxws-api is coming from.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Gert
>>>>>
>>>>> vkrejcirik schreef:
>>>>>> Hi, I'm using JDK 1.6 update 11, it's the latest version, I 
>>>>>> think. In pom.xml is jaxws-api 2.1-1, but when I run 'mvn 
>>>>>> install', it downloads jaxws-api 2.0.
>>>>>>
>>>>>> /**************************************/
>>>>>> Best regards / S pozdravem
>>>>>> Vladislav Krejčiřík
>>>>>>
>>>>>> http://www.vkrejcirik.info
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang napsal(a):
>>>>>>> Hi,
>>>>>>> You are using early version of JDK 1.6, right? which ships with 
>>>>>>> jaxws 2.0 api, but what we need here is jaxws 2.1 api.
>>>>>>> Try to use JDK 1.5 or latest JDK 1.6.
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>> vkrejcirik wrote:
>>>>>>>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from 
>>>>>>>> examples by mvn command. I get this error:
>>>>>>>>
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>>
>>>>>>>> [ERROR] BUILD FAILURE
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>>
>>>>>>>> [INFO] Compilation failure
>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>
>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>> find symbol
>>>>>>>> symbol  : method 
>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>
>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>
>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>> find symbol
>>>>>>>> symbol  : method 
>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>
>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>
>>>>>>>>
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>>
>>>>>>>> [INFO] Trace
>>>>>>>> org.apache.maven.BuildFailureException: Compilation failure
>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>
>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>> find symbol
>>>>>>>> symbol  : method 
>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>
>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>>>
>>>>>>>> .java:579)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>>>>>>>
>>>>>>>> ycleExecutor.java:499)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>>>>>>>
>>>>>>>> java:478)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>>>>>>>
>>>>>>>> ifecycleExecutor.java:330)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>>>>>>>
>>>>>>>> xecutor.java:291)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>>>>>>>
>>>>>>>> :142)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>>>>>>>> Method)
>>>>>>>>        at 
>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>>>>>>
>>>>>>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>>>        at 
>>>>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>>>>        at 
>>>>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>>>>> Caused by: org.apache.maven.plugin.CompilationFailureException: 
>>>>>>>> Compilation failure
>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>
>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>> find symbol
>>>>>>>> symbol  : method 
>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>
>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>>>
>>>>>>>> .java:558)
>>>>>>>>        ... 16 more
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Re: cxf-wsdl-first

Posted by vkrejcirik <vk...@gmail.com>.
Hi, of course. But in pom, there were this element... I only remove 
version element.

/**************************************/
Best regards / S pozdravem
Vladislav Krejčiřík

http://www.vkrejcirik.info



Freeman Fang napsal(a):
> Hi,
> I think for jdk1.5 you needn't change the pom.
> Btw, would you please create a jira ticket for it so that we won't 
> forget the fix?
>
> Thanks
> Freeman
>
>
> vkrejcirik wrote:
>> I added this element to the pom.xml in cxfse-su.
>> When I tried to run it with java 1.6 update 11,  it was ok.
>> When I tried to run it with java 1.5, I have the same problem.
>> Yes, I'm in Windows.
>>
>> /**************************************/
>> Best regards / S pozdravem
>> Vladislav Krejčiřík
>>
>> http://www.vkrejcirik.info
>>
>>
>>
>> Freeman Fang napsal(a):
>>> Hi,
>>> Edit ./wsdl-first-cxfse-su/pom.xml,
>>> add   <exclusions>
>>>               <exclusion>
>>>                   <groupId>javax.xml.ws</groupId>
>>>                   <artifactId>jaxws-api</artifactId>
>>>               </exclusion>
>>>            </exclusions>
>>> For servicemix-cxf-se dependency.
>>> But if your jdk shipped with jaxws 2.0 api, then this fix doesn't 
>>> work, you need create endorse folder for your jdk and put jaxws-api 
>>> 2.1 jar in it.
>>> I notice you are are windows.
>>> I use sun jdk 1.6.0_06 on linux but can't reproduce the error you see.
>>> Can you try with jdk 1.5 on your platform?
>>> Freeman
>>>
>>> vkrejcirik wrote:
>>>> So, in dependency tree in CXF SE  is jaxws-api 2.1-1.
>>>> In section for CXF BC is this: 
>>>> javax.xml.ws:jaxws-api:jar:2.0:compile (version managed from 2.1-1).
>>>> In section CXF SA is javax.xml.ws:jaxws-api:jar:2.0:compile for 
>>>> org.apache.servicemix:servicemix-cxf-se.
>>>> .
>>>>
>>>>
>>>>
>>>> /**************************************/
>>>> Best regards / S pozdravem
>>>> Vladislav Krejčiřík
>>>>
>>>> http://www.vkrejcirik.info
>>>>
>>>>
>>>>
>>>> Gert Vanthienen napsal(a):
>>>>> Vladislav,
>>>>>
>>>>> Could you try running mvn dependency:tree?  This will give you a 
>>>>> tree of the dependencies of your project and it should give you an 
>>>>> idea of where this version of jaxws-api is coming from.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Gert
>>>>>
>>>>> vkrejcirik schreef:
>>>>>> Hi, I'm using JDK 1.6 update 11, it's the latest version, I 
>>>>>> think. In pom.xml is jaxws-api 2.1-1, but when I run 'mvn 
>>>>>> install', it downloads jaxws-api 2.0.
>>>>>>
>>>>>> /**************************************/
>>>>>> Best regards / S pozdravem
>>>>>> Vladislav Krejčiřík
>>>>>>
>>>>>> http://www.vkrejcirik.info
>>>>>>
>>>>>>
>>>>>>
>>>>>> Freeman Fang napsal(a):
>>>>>>> Hi,
>>>>>>> You are using early version of JDK 1.6, right? which ships with 
>>>>>>> jaxws 2.0 api, but what we need here is jaxws 2.1 api.
>>>>>>> Try to use JDK 1.5 or latest JDK 1.6.
>>>>>>>
>>>>>>> Freeman
>>>>>>>
>>>>>>> vkrejcirik wrote:
>>>>>>>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from 
>>>>>>>> examples by mvn command. I get this error:
>>>>>>>>
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>>
>>>>>>>> [ERROR] BUILD FAILURE
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>>
>>>>>>>> [INFO] Compilation failure
>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>
>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>> find symbol
>>>>>>>> symbol  : method 
>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>
>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>
>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>> find symbol
>>>>>>>> symbol  : method 
>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>
>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>
>>>>>>>>
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>>
>>>>>>>> [INFO] Trace
>>>>>>>> org.apache.maven.BuildFailureException: Compilation failure
>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>
>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>> find symbol
>>>>>>>> symbol  : method 
>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>
>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>>>
>>>>>>>> .java:579)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>>>>>>>
>>>>>>>> ycleExecutor.java:499)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>>>>>>>
>>>>>>>> java:478)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>>>>>>>
>>>>>>>> ifecycleExecutor.java:330)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>>>>>>>
>>>>>>>> xecutor.java:291)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>>>>>>>
>>>>>>>> :142)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>>>        at 
>>>>>>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>>>>>>>> Method)
>>>>>>>>        at 
>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>>>>>>
>>>>>>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>>>        at 
>>>>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>>>>        at 
>>>>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>>>>> Caused by: org.apache.maven.plugin.CompilationFailureException: 
>>>>>>>> Compilation failure
>>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>>
>>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>>> find symbol
>>>>>>>> symbol  : method 
>>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>>
>>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>>> location: class javax.xml.ws.Service
>>>>>>>>
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>>>>>>
>>>>>>>>        at 
>>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>>>
>>>>>>>> .java:558)
>>>>>>>>        ... 16 more
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Re: cxf-wsdl-first

Posted by Freeman Fang <fr...@gmail.com>.
Hi,
I think for jdk1.5 you needn't change the pom.
Btw, would you please create a jira ticket for it so that we won't 
forget the fix?

Thanks
Freeman


vkrejcirik wrote:
> I added this element to the pom.xml in cxfse-su.
> When I tried to run it with java 1.6 update 11,  it was ok.
> When I tried to run it with java 1.5, I have the same problem.
> Yes, I'm in Windows.
>
> /**************************************/
> Best regards / S pozdravem
> Vladislav Krejčiřík
>
> http://www.vkrejcirik.info
>
>
>
> Freeman Fang napsal(a):
>> Hi,
>> Edit ./wsdl-first-cxfse-su/pom.xml,
>> add   <exclusions>
>>               <exclusion>
>>                   <groupId>javax.xml.ws</groupId>
>>                   <artifactId>jaxws-api</artifactId>
>>               </exclusion>
>>            </exclusions>
>> For servicemix-cxf-se dependency.
>> But if your jdk shipped with jaxws 2.0 api, then this fix doesn't 
>> work, you need create endorse folder for your jdk and put jaxws-api 
>> 2.1 jar in it.
>> I notice you are are windows.
>> I use sun jdk 1.6.0_06 on linux but can't reproduce the error you see.
>> Can you try with jdk 1.5 on your platform?
>> Freeman
>>
>> vkrejcirik wrote:
>>> So, in dependency tree in CXF SE  is jaxws-api 2.1-1.
>>> In section for CXF BC is this: 
>>> javax.xml.ws:jaxws-api:jar:2.0:compile (version managed from 2.1-1).
>>> In section CXF SA is javax.xml.ws:jaxws-api:jar:2.0:compile for 
>>> org.apache.servicemix:servicemix-cxf-se.
>>> .
>>>
>>>
>>>
>>> /**************************************/
>>> Best regards / S pozdravem
>>> Vladislav Krejčiřík
>>>
>>> http://www.vkrejcirik.info
>>>
>>>
>>>
>>> Gert Vanthienen napsal(a):
>>>> Vladislav,
>>>>
>>>> Could you try running mvn dependency:tree?  This will give you a 
>>>> tree of the dependencies of your project and it should give you an 
>>>> idea of where this version of jaxws-api is coming from.
>>>>
>>>> Regards,
>>>>
>>>> Gert
>>>>
>>>> vkrejcirik schreef:
>>>>> Hi, I'm using JDK 1.6 update 11, it's the latest version, I think. 
>>>>> In pom.xml is jaxws-api 2.1-1, but when I run 'mvn install', it 
>>>>> downloads jaxws-api 2.0.
>>>>>
>>>>> /**************************************/
>>>>> Best regards / S pozdravem
>>>>> Vladislav Krejčiřík
>>>>>
>>>>> http://www.vkrejcirik.info
>>>>>
>>>>>
>>>>>
>>>>> Freeman Fang napsal(a):
>>>>>> Hi,
>>>>>> You are using early version of JDK 1.6, right? which ships with 
>>>>>> jaxws 2.0 api, but what we need here is jaxws 2.1 api.
>>>>>> Try to use JDK 1.5 or latest JDK 1.6.
>>>>>>
>>>>>> Freeman
>>>>>>
>>>>>> vkrejcirik wrote:
>>>>>>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from 
>>>>>>> examples by mvn command. I get this error:
>>>>>>>
>>>>>>> [INFO] 
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [ERROR] BUILD FAILURE
>>>>>>> [INFO] 
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] Compilation failure
>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>
>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>> find symbol
>>>>>>> symbol  : method 
>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>
>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>> location: class javax.xml.ws.Service
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>
>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>> find symbol
>>>>>>> symbol  : method 
>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>
>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>> location: class javax.xml.ws.Service
>>>>>>>
>>>>>>>
>>>>>>> [INFO] 
>>>>>>> ------------------------------------------------------------------------ 
>>>>>>>
>>>>>>> [INFO] Trace
>>>>>>> org.apache.maven.BuildFailureException: Compilation failure
>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>
>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>> find symbol
>>>>>>> symbol  : method 
>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>
>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>> location: class javax.xml.ws.Service
>>>>>>>
>>>>>>>
>>>>>>>        at 
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>>
>>>>>>> .java:579)
>>>>>>>        at 
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>>>>>>
>>>>>>> ycleExecutor.java:499)
>>>>>>>        at 
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>>>>>>
>>>>>>> java:478)
>>>>>>>        at 
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>>>>>>
>>>>>>> ifecycleExecutor.java:330)
>>>>>>>        at 
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>>>>>>
>>>>>>> xecutor.java:291)
>>>>>>>        at 
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>>>>>>
>>>>>>> :142)
>>>>>>>        at 
>>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>>        at 
>>>>>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>>>>>>> Method)
>>>>>>>        at 
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>>>>>
>>>>>>>        at 
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>>>>>
>>>>>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>>        at 
>>>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>>>>        at 
>>>>>>> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>>>        at 
>>>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
>>>>>>>
>>>>>>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>>>> Caused by: org.apache.maven.plugin.CompilationFailureException: 
>>>>>>> Compilation failure
>>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>>
>>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>>> find symbol
>>>>>>> symbol  : method 
>>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>>
>>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>>> location: class javax.xml.ws.Service
>>>>>>>
>>>>>>>
>>>>>>>        at 
>>>>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>>>>>>
>>>>>>>        at 
>>>>>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>>>>>>>        at 
>>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>>>>>
>>>>>>>        at 
>>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>>
>>>>>>> .java:558)
>>>>>>>        ... 16 more
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


Re: cxf-wsdl-first

Posted by vkrejcirik <vk...@gmail.com>.
I added this element to the pom.xml in cxfse-su.
When I tried to run it with java 1.6 update 11,  it was ok.
When I tried to run it with java 1.5, I have the same problem.
Yes, I'm in Windows.

/**************************************/
Best regards / S pozdravem
Vladislav Krejčiřík

http://www.vkrejcirik.info



Freeman Fang napsal(a):
> Hi,
> Edit ./wsdl-first-cxfse-su/pom.xml,
> add   <exclusions>
>               <exclusion>
>                   <groupId>javax.xml.ws</groupId>
>                   <artifactId>jaxws-api</artifactId>
>               </exclusion>
>            </exclusions>
> For servicemix-cxf-se dependency.
> But if your jdk shipped with jaxws 2.0 api, then this fix doesn't 
> work, you need create endorse folder for your jdk and put jaxws-api 
> 2.1 jar in it.
> I notice you are are windows.
> I use sun jdk 1.6.0_06 on linux but can't reproduce the error you see.
> Can you try with jdk 1.5 on your platform?
> Freeman
>
> vkrejcirik wrote:
>> So, in dependency tree in CXF SE  is jaxws-api 2.1-1.
>> In section for CXF BC is this: javax.xml.ws:jaxws-api:jar:2.0:compile 
>> (version managed from 2.1-1).
>> In section CXF SA is javax.xml.ws:jaxws-api:jar:2.0:compile for 
>> org.apache.servicemix:servicemix-cxf-se.
>> .
>>
>>
>>
>> /**************************************/
>> Best regards / S pozdravem
>> Vladislav Krejčiřík
>>
>> http://www.vkrejcirik.info
>>
>>
>>
>> Gert Vanthienen napsal(a):
>>> Vladislav,
>>>
>>> Could you try running mvn dependency:tree?  This will give you a 
>>> tree of the dependencies of your project and it should give you an 
>>> idea of where this version of jaxws-api is coming from.
>>>
>>> Regards,
>>>
>>> Gert
>>>
>>> vkrejcirik schreef:
>>>> Hi, I'm using JDK 1.6 update 11, it's the latest version, I think. 
>>>> In pom.xml is jaxws-api 2.1-1, but when I run 'mvn install', it 
>>>> downloads jaxws-api 2.0.
>>>>
>>>> /**************************************/
>>>> Best regards / S pozdravem
>>>> Vladislav Krejčiřík
>>>>
>>>> http://www.vkrejcirik.info
>>>>
>>>>
>>>>
>>>> Freeman Fang napsal(a):
>>>>> Hi,
>>>>> You are using early version of JDK 1.6, right? which ships with 
>>>>> jaxws 2.0 api, but what we need here is jaxws 2.1 api.
>>>>> Try to use JDK 1.5 or latest JDK 1.6.
>>>>>
>>>>> Freeman
>>>>>
>>>>> vkrejcirik wrote:
>>>>>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from 
>>>>>> examples by mvn command. I get this error:
>>>>>>
>>>>>> [INFO] 
>>>>>> ------------------------------------------------------------------------ 
>>>>>>
>>>>>> [ERROR] BUILD FAILURE
>>>>>> [INFO] 
>>>>>> ------------------------------------------------------------------------ 
>>>>>>
>>>>>> [INFO] Compilation failure
>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>
>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>> find symbol
>>>>>> symbol  : method 
>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>
>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>> location: class javax.xml.ws.Service
>>>>>>
>>>>>>
>>>>>>
>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>
>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>> find symbol
>>>>>> symbol  : method 
>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>
>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>> location: class javax.xml.ws.Service
>>>>>>
>>>>>>
>>>>>> [INFO] 
>>>>>> ------------------------------------------------------------------------ 
>>>>>>
>>>>>> [INFO] Trace
>>>>>> org.apache.maven.BuildFailureException: Compilation failure
>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>
>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>> find symbol
>>>>>> symbol  : method 
>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>
>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>> location: class javax.xml.ws.Service
>>>>>>
>>>>>>
>>>>>>        at 
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>
>>>>>> .java:579)
>>>>>>        at 
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>>>>>
>>>>>> ycleExecutor.java:499)
>>>>>>        at 
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>>>>>
>>>>>> java:478)
>>>>>>        at 
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>>>>>
>>>>>> ifecycleExecutor.java:330)
>>>>>>        at 
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>>>>>
>>>>>> xecutor.java:291)
>>>>>>        at 
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>>>>>
>>>>>> :142)
>>>>>>        at 
>>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>>        at 
>>>>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>>>>>> Method)
>>>>>>        at 
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>>>>
>>>>>>        at 
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>>>>
>>>>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>        at 
>>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>>>        at 
>>>>>> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>>        at 
>>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
>>>>>>
>>>>>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>>> Caused by: org.apache.maven.plugin.CompilationFailureException: 
>>>>>> Compilation failure
>>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>>
>>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot 
>>>>>> find symbol
>>>>>> symbol  : method 
>>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>>
>>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>>> location: class javax.xml.ws.Service
>>>>>>
>>>>>>
>>>>>>        at 
>>>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>>>>>
>>>>>>        at 
>>>>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>>>>>>        at 
>>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>>>>
>>>>>>        at 
>>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>>
>>>>>> .java:558)
>>>>>>        ... 16 more
>>>>>>
>>>>>
>>>>
>>>
>>
>

Re: cxf-wsdl-first

Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Edit ./wsdl-first-cxfse-su/pom.xml,
add   
<exclusions>
               <exclusion>
                   <groupId>javax.xml.ws</groupId>
                   <artifactId>jaxws-api</artifactId>
               </exclusion>
            </exclusions>
For servicemix-cxf-se dependency.
But if your jdk shipped with jaxws 2.0 api, then this fix doesn't work, 
you need create endorse folder for your jdk and put jaxws-api 2.1 jar in it.
I notice you are are windows.
I use sun jdk 1.6.0_06 on linux but can't reproduce the error you see.
Can you try with jdk 1.5 on your platform?
Freeman

vkrejcirik wrote:
> So, in dependency tree in CXF SE  is jaxws-api 2.1-1.
> In section for CXF BC is this: javax.xml.ws:jaxws-api:jar:2.0:compile 
> (version managed from 2.1-1).
> In section CXF SA is javax.xml.ws:jaxws-api:jar:2.0:compile for 
> org.apache.servicemix:servicemix-cxf-se.
> .
>
>
>
> /**************************************/
> Best regards / S pozdravem
> Vladislav Krejčiřík
>
> http://www.vkrejcirik.info
>
>
>
> Gert Vanthienen napsal(a):
>> Vladislav,
>>
>> Could you try running mvn dependency:tree?  This will give you a tree 
>> of the dependencies of your project and it should give you an idea of 
>> where this version of jaxws-api is coming from.
>>
>> Regards,
>>
>> Gert
>>
>> vkrejcirik schreef:
>>> Hi, I'm using JDK 1.6 update 11, it's the latest version, I think. 
>>> In pom.xml is jaxws-api 2.1-1, but when I run 'mvn install', it 
>>> downloads jaxws-api 2.0.
>>>
>>> /**************************************/
>>> Best regards / S pozdravem
>>> Vladislav Krejčiřík
>>>
>>> http://www.vkrejcirik.info
>>>
>>>
>>>
>>> Freeman Fang napsal(a):
>>>> Hi,
>>>> You are using early version of JDK 1.6, right? which ships with 
>>>> jaxws 2.0 api, but what we need here is jaxws 2.1 api.
>>>> Try to use JDK 1.5 or latest JDK 1.6.
>>>>
>>>> Freeman
>>>>
>>>> vkrejcirik wrote:
>>>>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from 
>>>>> examples by mvn command. I get this error:
>>>>>
>>>>> [INFO] 
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO] 
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> [INFO] Compilation failure
>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>
>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>>>> symbol
>>>>> symbol  : method 
>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>
>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>> location: class javax.xml.ws.Service
>>>>>
>>>>>
>>>>>
>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>
>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>>>> symbol
>>>>> symbol  : method 
>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>
>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>> location: class javax.xml.ws.Service
>>>>>
>>>>>
>>>>> [INFO] 
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> [INFO] Trace
>>>>> org.apache.maven.BuildFailureException: Compilation failure
>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>
>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>>>> symbol
>>>>> symbol  : method 
>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>
>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>> location: class javax.xml.ws.Service
>>>>>
>>>>>
>>>>>        at 
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>
>>>>> .java:579)
>>>>>        at 
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>>>>
>>>>> ycleExecutor.java:499)
>>>>>        at 
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>>>>
>>>>> java:478)
>>>>>        at 
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>>>>
>>>>> ifecycleExecutor.java:330)
>>>>>        at 
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>>>>
>>>>> xecutor.java:291)
>>>>>        at 
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>>>>
>>>>> :142)
>>>>>        at 
>>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>>        at 
>>>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>        at 
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>>>
>>>>>        at 
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>>>
>>>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>        at 
>>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>>        at 
>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>> Caused by: org.apache.maven.plugin.CompilationFailureException: 
>>>>> Compilation failure
>>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>>
>>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>>>> symbol
>>>>> symbol  : method 
>>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>>
>>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>>> location: class javax.xml.ws.Service
>>>>>
>>>>>
>>>>>        at 
>>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>>>>
>>>>>        at 
>>>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>>>>>        at 
>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>>>
>>>>>        at 
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>>
>>>>> .java:558)
>>>>>        ... 16 more
>>>>>
>>>>
>>>
>>
>


Re: cxf-wsdl-first

Posted by vkrejcirik <vk...@gmail.com>.
So, in dependency tree in CXF SE  is jaxws-api 2.1-1.
In section for CXF BC is this: javax.xml.ws:jaxws-api:jar:2.0:compile 
(version managed from 2.1-1).
In section CXF SA is javax.xml.ws:jaxws-api:jar:2.0:compile for 
org.apache.servicemix:servicemix-cxf-se.
.



/**************************************/
Best regards / S pozdravem
Vladislav Krejčiřík

http://www.vkrejcirik.info



Gert Vanthienen napsal(a):
> Vladislav,
>
> Could you try running mvn dependency:tree?  This will give you a tree 
> of the dependencies of your project and it should give you an idea of 
> where this version of jaxws-api is coming from.
>
> Regards,
>
> Gert
>
> vkrejcirik schreef:
>> Hi, I'm using JDK 1.6 update 11, it's the latest version, I think. In 
>> pom.xml is jaxws-api 2.1-1, but when I run 'mvn install', it 
>> downloads jaxws-api 2.0.
>>
>> /**************************************/
>> Best regards / S pozdravem
>> Vladislav Krejčiřík
>>
>> http://www.vkrejcirik.info
>>
>>
>>
>> Freeman Fang napsal(a):
>>> Hi,
>>> You are using early version of JDK 1.6, right? which ships with 
>>> jaxws 2.0 api, but what we need here is jaxws 2.1 api.
>>> Try to use JDK 1.5 or latest JDK 1.6.
>>>
>>> Freeman
>>>
>>> vkrejcirik wrote:
>>>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from examples 
>>>> by mvn command. I get this error:
>>>>
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>>
>>>> [ERROR] BUILD FAILURE
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>>
>>>> [INFO] Compilation failure
>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>
>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>>> symbol
>>>> symbol  : method 
>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>
>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>> location: class javax.xml.ws.Service
>>>>
>>>>
>>>>
>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>
>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>>> symbol
>>>> symbol  : method 
>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>
>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>> location: class javax.xml.ws.Service
>>>>
>>>>
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>>
>>>> [INFO] Trace
>>>> org.apache.maven.BuildFailureException: Compilation failure
>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>
>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>>> symbol
>>>> symbol  : method 
>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>
>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>> location: class javax.xml.ws.Service
>>>>
>>>>
>>>>        at 
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>
>>>> .java:579)
>>>>        at 
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>>>
>>>> ycleExecutor.java:499)
>>>>        at 
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>>>
>>>> java:478)
>>>>        at 
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>>>
>>>> ifecycleExecutor.java:330)
>>>>        at 
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>>>
>>>> xecutor.java:291)
>>>>        at 
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>>>
>>>> :142)
>>>>        at 
>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>        at 
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>>
>>>>        at 
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>>
>>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>>        at 
>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>        at 
>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>> Caused by: org.apache.maven.plugin.CompilationFailureException: 
>>>> Compilation failure
>>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>>
>>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>>> symbol
>>>> symbol  : method 
>>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>>
>>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>>> location: class javax.xml.ws.Service
>>>>
>>>>
>>>>        at 
>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>>>
>>>>        at 
>>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>>>>        at 
>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>>
>>>>        at 
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>>
>>>> .java:558)
>>>>        ... 16 more
>>>>
>>>
>>
>

Re: cxf-wsdl-first

Posted by Gert Vanthienen <ge...@skynet.be>.
Vladislav,

Could you try running mvn dependency:tree?  This will give you a tree of 
the dependencies of your project and it should give you an idea of where 
this version of jaxws-api is coming from.

Regards,

Gert

vkrejcirik schreef:
> Hi, I'm using JDK 1.6 update 11, it's the latest version, I think. In 
> pom.xml is jaxws-api 2.1-1, but when I run 'mvn install', it downloads 
> jaxws-api 2.0.
>
> /**************************************/
> Best regards / S pozdravem
> Vladislav Krejčiřík
>
> http://www.vkrejcirik.info
>
>
>
> Freeman Fang napsal(a):
>> Hi,
>> You are using early version of JDK 1.6, right? which ships with jaxws 
>> 2.0 api, but what we need here is jaxws 2.1 api.
>> Try to use JDK 1.5 or latest JDK 1.6.
>>
>> Freeman
>>
>> vkrejcirik wrote:
>>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from examples 
>>> by mvn command. I get this error:
>>>
>>> [INFO] 
>>> ------------------------------------------------------------------------ 
>>>
>>> [ERROR] BUILD FAILURE
>>> [INFO] 
>>> ------------------------------------------------------------------------ 
>>>
>>> [INFO] Compilation failure
>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>
>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>> symbol
>>> symbol  : method 
>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>
>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>> location: class javax.xml.ws.Service
>>>
>>>
>>>
>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>
>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>> symbol
>>> symbol  : method 
>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>
>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>> location: class javax.xml.ws.Service
>>>
>>>
>>> [INFO] 
>>> ------------------------------------------------------------------------ 
>>>
>>> [INFO] Trace
>>> org.apache.maven.BuildFailureException: Compilation failure
>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>
>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>> symbol
>>> symbol  : method 
>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>
>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>> location: class javax.xml.ws.Service
>>>
>>>
>>>        at 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>
>>> .java:579)
>>>        at 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>>
>>> ycleExecutor.java:499)
>>>        at 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>>
>>> java:478)
>>>        at 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>>
>>> ifecycleExecutor.java:330)
>>>        at 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>>
>>> xecutor.java:291)
>>>        at 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>>
>>> :142)
>>>        at 
>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>>
>>>        at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>>
>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>        at 
>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>        at 
>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>> Caused by: org.apache.maven.plugin.CompilationFailureException: 
>>> Compilation failure
>>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>>
>>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>>> symbol
>>> symbol  : method 
>>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>>
>>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>>> location: class javax.xml.ws.Service
>>>
>>>
>>>        at 
>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>>
>>>        at 
>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>>>        at 
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>>
>>>        at 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>>
>>> .java:558)
>>>        ... 16 more
>>>
>>
>


Re: cxf-wsdl-first

Posted by vkrejcirik <vk...@gmail.com>.
Hi, I'm using JDK 1.6 update 11, it's the latest version, I think. In 
pom.xml is jaxws-api 2.1-1, but when I run 'mvn install', it downloads 
jaxws-api 2.0.

/**************************************/
Best regards / S pozdravem
Vladislav Krejčiřík

http://www.vkrejcirik.info



Freeman Fang napsal(a):
> Hi,
> You are using early version of JDK 1.6, right? which ships with jaxws 
> 2.0 api, but what we need here is jaxws 2.1 api.
> Try to use JDK 1.5 or latest JDK 1.6.
>
> Freeman
>
> vkrejcirik wrote:
>> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from examples 
>> by mvn command. I get this error:
>>
>> [INFO] 
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>
>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>> symbol
>> symbol  : method 
>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>
>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>> location: class javax.xml.ws.Service
>>
>>
>>
>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>
>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>> symbol
>> symbol  : method 
>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>
>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>> location: class javax.xml.ws.Service
>>
>>
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.BuildFailureException: Compilation failure
>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>
>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>> symbol
>> symbol  : method 
>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>
>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>> location: class javax.xml.ws.Service
>>
>>
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>
>> .java:579)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>>
>> ycleExecutor.java:499)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>>
>> java:478)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>>
>> ifecycleExecutor.java:330)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>>
>> xecutor.java:291)
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>>
>> :142)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>>
>>        at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>>
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at 
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>        at 
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: org.apache.maven.plugin.CompilationFailureException: 
>> Compilation failure
>> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>>
>> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find 
>> symbol
>> symbol  : method 
>> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>>
>> l_first.Person>,javax.xml.ws.WebServiceFeature[])
>> location: class javax.xml.ws.Service
>>
>>
>>        at 
>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>>
>>        at 
>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>>        at 
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>>
>>        at 
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>>
>> .java:558)
>>        ... 16 more
>>
>

Re: cxf-wsdl-first

Posted by Freeman Fang <fr...@gmail.com>.
Hi,
You are using early version of JDK 1.6, right? which ships with jaxws 
2.0 api, but what we need here is jaxws 2.1 api.
Try to use JDK 1.5 or latest JDK 1.6.

Freeman

vkrejcirik wrote:
> Hi, I have SMX 3.3 and I try to deploy cxf-wsdl-first from examples by 
> mvn command. I get this error:
>
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>
> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find symbol
> symbol  : method 
> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>
> l_first.Person>,javax.xml.ws.WebServiceFeature[])
> location: class javax.xml.ws.Service
>
>
>
> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>
> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find symbol
> symbol  : method 
> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>
> l_first.Person>,javax.xml.ws.WebServiceFeature[])
> location: class javax.xml.ws.Service
>
>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>
> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find symbol
> symbol  : method 
> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>
> l_first.Person>,javax.xml.ws.WebServiceFeature[])
> location: class javax.xml.ws.Service
>
>
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>
> .java:579)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec 
>
> ycleExecutor.java:499)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. 
>
> java:478)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL 
>
> ifecycleExecutor.java:330)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE 
>
> xecutor.java:291)
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
>
> :142)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
>
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.CompilationFailureException: 
> Compilation failure
> C:\Java\apache-servicemix-3.3\examples\cxf-wsdl-first\wsdl-first-cxfse-su\target\jaxws\org\apache\se 
>
> rvicemix\samples\wsdl_first\PersonService.java:[74,20] cannot find symbol
> symbol  : method 
> getPort(javax.xml.namespace.QName,java.lang.Class<org.apache.servicemix.samples.wsd 
>
> l_first.Person>,javax.xml.ws.WebServiceFeature[])
> location: class javax.xml.ws.Service
>
>
>        at 
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) 
>
>        at 
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>        at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) 
>
>        at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor 
>
> .java:558)
>        ... 16 more
>