[
https://issues.apache.org/jira/browse/CXF-4329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280324#comment-13280324
]
Glen Mazza commented on CXF-4329:
---------------------------------
The java_first_jaxws sample you're referring to does not use the simple front
end. The simple front end refers to annotation-less web service providers
(http://cxf.apache.org/docs/simple-frontend.html), whereas the sample clearly
does use the @webservice annotation:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/java_first_jaxws/src/main/java/demo/hw/server/HelloWorldImpl.java?revision=1173027&view=markup
> Service using simple frontend with JAXB binding causes a
> ClassNotFoundException when started in Karaf
> -----------------------------------------------------------------------------------------------------
>
> Key: CXF-4329
> URL: https://issues.apache.org/jira/browse/CXF-4329
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding, Simple Frontend
> Affects Versions: 2.6
> Environment: Java 6, Karaf 2.2.7
> Reporter: Zsolt Beothy-Elo
> Priority: Minor
> Attachments: ClassNotFoundException.txt, karaf_cl_issue.zip
>
>
> When I deploy the karaf_cl_issue service attached to this issue into karaf
> and try to start it causes a ClassNotFoundException
> (org.apache.cxf.jaxb.JAXBDataBinding not found), see
> ClassNotFoundException.txt for the full stacktrace. karaf_cl_issue is derived
> from the java_first_jaxws sample. Instead of the JAX-WS frontend a Simple
> Frontend is used and build was modified to create a bundle instead of war
> file.
> Using the sample with JAX-WS works fine, also building and deploying the
> Simple Frontend based service with CXF-2.5.2 works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira