kodo.jdo.GeneralException

org.xml.sax.SAXException: file:/D:/eclipsework/BuildCheck/package.jdoquery [Location: Line: 7, C: 28]: org.xml.sax.SAXParseException: Attribute "sql" must be declared for element type "query".

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Oracle Community by 666705, 1 year ago
    org.xml.sax.SAXException: file:/D:/eclipsework/BuildCheck/package.jdoquery [Location: Line: 7, C: 28]: org.xml.sax.SAXParseException: Attribute "sql" must be declared for element type "query".
  • Stack trace

    • kodo.jdo.GeneralException: org.xml.sax.SAXException: file:/D:/eclipsework/BuildCheck/package.jdoquery [Location: Line: 7, C: 28]: org.xml.sax.SAXParseException: Attribute "sql" must be declared for element type "query". at kodo.meta.AbstractCFMetaDataFactory.parse(AbstractCFMetaDataFactory.java:471) at kodo.jdo.JDOMetaDataFactory.load(JDOMetaDataFactory.java:121) at kodo.meta.MetaDataRepository.getQueryMetaDataInternal(MetaDataRepository.java:1533) at kodo.meta.MetaDataRepository.getQueryMetaData(MetaDataRepository.java:1496) at kodo.jdo.PersistenceManagerImpl.newNamedQuery(PersistenceManagerImpl.java:1032) at com.chubb.buildcheck.DaoSql.getNamedData(DaoSql.java:45) at com.chubb.buildcheck.DaoSql.getNamedData(DaoSql.java:26) at com.chubb.buildcheck.Data4code.main(Data4code.java:342)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.