You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2014/04/23 08:52:19 UTC

[jira] [Comment Edited] (CXF-5704) Enhance Spring-based auto-discovery code to locate classes implementing matching interfaces

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

Francesco Chicchiriccò edited comment on CXF-5704 at 4/23/14 6:52 AM:
----------------------------------------------------------------------

I've built from CXF master branch, then applied this patch to Syncope trunk: when the Syncope core application is being deployed, I get the following exception:

{code}
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 92 in XML document from file [/home/ilgrosso/work/syncope/trunk/core/target/cargo/configurations/tomcat7x/webapps/syncope/WEB-INF/classes/restContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 92; columnNumber: 131; cvc-complex-type.3.2.2: Attribute 'basePackages' is not allowed to appear in element 'jaxrs:server'.
{code}

What am I doing wrong?


was (Author: ilgrosso):
I've built from CXF master branch, then applied this patch to Syncope trunk: when the Syncope core application is being deployed, I get the following exception:

Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 92 in XML document from file [/home/ilgrosso/work/syncope/trunk/core/target/cargo/configurations/tomcat7x/webapps/syncope/WEB-INF/classes/restContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 92; columnNumber: 131; cvc-complex-type.3.2.2: Attribute 'basePackages' is not allowed to appear in element 'jaxrs:server'.

What am I doing wrong?

> Enhance Spring-based auto-discovery code to locate classes implementing matching interfaces
> -------------------------------------------------------------------------------------------
>
>                 Key: CXF-5704
>                 URL: https://issues.apache.org/jira/browse/CXF-5704
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.0.0-milestone2
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: Syncope-trunk-CXF-5704.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)