Jerry Cwiklik created UIMA-4972:
-----------------------------------

             Summary: UIMA-DUCC: modify uima-as dd2spring.xsl to remove 
scope="singleton"
                 Key: UIMA-4972
                 URL: https://issues.apache.org/jira/browse/UIMA-4972
             Project: UIMA
          Issue Type: Task
          Components: DUCC
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.1.0-Ducc


UIMA-AS 2.8.1 comes with a modified version of dd2spring.xsl which is not 
backwards compatible with previous versions of UIMA-AS. The problem is that 
bean scope=singleton is not a valid attribute in older versions of Spring 
framework. The documentation clearly says it is supported yet when running with 
older version of Spring the setting scope="singleton" causes the following 
exception:

Caused by: org.xml.sax.SAXParseException; lineNumber: 63; columnNumber: 28; 
Attribute "scope" must be declared for element type "bean".

Modify DUCC's root pom to change dd2spring.xsl supplied by UIMA-AS 2.8.1 by 
replacing offending attribute (scope="singleton") with an empty string.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to