You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2022/11/12 18:00:00 UTC

[jira] [Comment Edited] (CXF-8793) Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxrs] after updating CXF to 3.5.3

    [ https://issues.apache.org/jira/browse/CXF-8793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17632723#comment-17632723 ] 

Andriy Redko edited comment on CXF-8793 at 11/12/22 5:59 PM:
-------------------------------------------------------------

[~bhavikgandhi1] thanks, you are missing cxf-rt-frontend-jaxrs (and apparently cxf-rt-frontend-jaxws) in the deployment (as per https://issues.apache.org/jira/secure/attachment/13052134/13052134_Web-INF_lib_Contents.txt, you only have `cxf-rt-frontend-simple-3.5.3.jar`:
{noformat}
cxf-rt-frontend-simple-3.5.3.jar {noformat}
 


was (Author: reta):
[~bhavikgandhi1] thanks, you are missing cxf-rt-frontend-jaxrs (and apparently cxf-rt-frontend-jaxws) in the deployment (as per [^Web-INF_lib_Contents.txt),] you only have `cxf-rt-frontend-simple-3.5.3.jar`:
{noformat}
cxf-rt-frontend-simple-3.5.3.jar {noformat}
 

> Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxrs] after updating CXF to 3.5.3
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-8793
>                 URL: https://issues.apache.org/jira/browse/CXF-8793
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Bhavik
>            Priority: Major
>         Attachments: Web-INF_lib_Contents.txt, maven_dependency_tree.txt, pom-2.xml, pom-3.xml, serviceContext.xml
>
>
> After updating Spring to 5.3.20 and CXF to 3.5.3 tomcat is crashing with following error. 
>  
> Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxrs]
> Offending resource: URL [jar:file:/Users/vn54oiv/Documents/apache-tomcat-9.0.68/webapps/partner_data_status_app_war/WEB-INF/lib/partner-data-status-service-1.0.69.PROD.HF.1.0-SNAPSHOT.jar!/META-INF/serviceContext.xml] 
>  
> PFA serviceContext.xml
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)