You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Salamon (JIRA)" <ji...@apache.org> on 2019/03/07 08:58:00 UTC

[jira] [Commented] (OOZIE-3447) Run test case in local : It shows oozie-hsqldb-orm.xml exception

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

Andras Salamon commented on OOZIE-3447:
---------------------------------------

[~nobigo] What was the exact command line which gave you this error message?

> Run test case in local : It shows oozie-hsqldb-orm.xml exception
> ----------------------------------------------------------------
>
>                 Key: OOZIE-3447
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3447
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 5.1.0
>            Reporter: duan xiong
>            Assignee: duan xiong
>            Priority: Major
>
> {code:java}
> Caused by: java.io.IOException: org.xml.sax.SAXException: file:oozie-hsqldb-orm.xml [Location: Line: 22, C: 32]: org.xml.sax.SAXParseException; systemId: file:oozie-hsqldb-orm.xml; lineNumber: 22; columnNumber: 32; cvc-complex-type.3.1: Value '1.0' of attribute 'version' of element 'entity-mappings' is not valid with respect to the corresponding attribute use. Attribute 'version' has a fixed value of '2.0'.
> at org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDataParser.java:426)
> at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:346)
> at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:323)
> at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:296)
> at org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.parse(XMLPersistenceMetaDataParser.java:406)
> at org.apache.openjpa.persistence.PersistenceMetaDataFactory.parseXML(PersistenceMetaDataFactory.java:292)
> ... 58 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)