Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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".
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)