org.xml.sax.SAXParseException: The content of element type "entity" must match " (description?,display-name?,small-icon?,large-icon?,ejb-name,home,remote,ejb -cla ss,persistence-type,prim-key-class,reentrant,cmp-version?,abstract-schema-na me?, cmp-field*,primkey-field?,transaction-scope?,env-entry*,ejb-ref*,security-ro le-r ef*,security-identity?,resource-ref*,resource-env-ref*,query*)". at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java

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 3004, 1 year ago
The content of element type "entity" must match " (description?,display-name?,small-icon?,large-icon?,ejb-name,home,remote,ejb -cla ss,persistence-type,prim-key-class,reentrant,cmp-version?,abstract-schema-na me?, cmp-field*,primkey-field
via Oracle Community by 3004, 1 year ago
The content of element type "weblogic-enterprise- bean" must match "(ejb-name,caching-descriptor?,persistence-descriptor?,clusteri ng-descriptor?,transaction-descriptor?,reference-descriptor?,enable-call-by- refe rence?,jndi-name?,transaction-isolation*)". at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
via Google Groups by tony mao, 5 months ago
Element type "local" must be declared. at >>weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
via Oracle Community by 3004, 1 year ago
Element type "caching-descriptor" must be declare d. at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
org.xml.sax.SAXParseException: The content of element type "entity" must match " (description?,display-name?,small-icon?,large-icon?,ejb-name,home,remote,ejb -cla ss,persistence-type,prim-key-class,reentrant,cmp-version?,abstract-schema-na me?, cmp-field*,primkey-field?,transaction-scope?,env-entry*,ejb-ref*,security-ro le-r ef*,security-identity?,resource-ref*,resource-env-ref*,query*)". at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
at weblogic.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1096)
at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:829)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1200)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:861)
at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:128)
at weblogic.ejb20.dd.xml.EjbJarLoader_EJB20.process(EjbJarLoader_EJB20.java:919)
at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:74)
at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:47)
at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:38)
at weblogic.ejbc20.runBody(ejbc20.java:316)
at weblogic.utils.compiler.Tool.run(Tool.java:78)
at weblogic.ejbc20.main(ejbc20.java:402)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.