org.xml.sax.SAXParseException: The content of element type "entity" must match "(description?,display-name?,small-icon?,large-icon?,ejb-name,home,remote,ej b-cl ass,persistence-type,prim-key-class,reentrant,cmp-version?,abstract-schema-n ame? ,cmp-field*,primkey-field?,transaction-scope?,env-entry*,ejb-ref*,security-r ole- ref*,security-identity?,resource-ref*,resource-env-ref*,query*)".] Line: 20 Colu mn: 16

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

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,ej> b-cl>ass,persistence-type,prim-key-class,reentrant,cmp-version?,abstract-schema-n> ame?>,cmp-field*,primkey-field
via Oracle Community by 3004, 1 year ago
Element type "local" must be declared.] Line: 9 Column: 14
via Oracle Community by 3004, 1 year ago
Element type "caching-descriptor" must be declar ed.] Line: 8 Column: 27
via Oracle Community by 3004, 1 year ago
The content of element type "weblogic-enterprise -bean" must match "(ejb-name,caching-descriptor?,persistence-descriptor?,cluster ing-descriptor?,transaction-descriptor?,reference-descriptor?,enable-call-by -ref erence?,jndi-name?,transaction-isolation*)".] Line: 21 Column: 29
org.xml.sax.SAXParseException: The content of element type "entity" must match "(description?,display-name?,small-icon?,large-icon?,ejb-name,home,remote,ej b-cl ass,persistence-type,prim-key-class,reentrant,cmp-version?,abstract-schema-n ame? ,cmp-field*,primkey-field?,transaction-scope?,env-entry*,ejb-ref*,security-r ole- ref*,security-identity?,resource-ref*,resource-env-ref*,query*)".] Line: 20 Colu mn: 16
at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:132)
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 a tip to help other users and build your expert profile.

Write tip

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