org.apache.xmlbeans.XmlException: C:\JDeveloper\mywork\RegistryPocServcie\Project1\default.bpmn:0: error: The document is not a definitions@http://www.omg.org/bpmn20: document element namespace mismatch expected "http://www.omg.org/bpmn20" got "http://www.omg.org/spec/BPMN/20100524/MODEL"

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 xmlbeans-user by Ran, 1 year ago
error: The document is not a test@ http://example.com/CRMUsers/types/getUserResponse: document element mismatch got searchUsers
via openbravopos by cheli-tictech
, 1 year ago
error: The document is not a soapui-project@http://eviware.com/soapui/config: document element mismatch got definitions@http://schemas.xmlsoap.org/wsdl/
via xmlbeans-user by Manoj Pansare, 1 year ago
S:\something\build\config\buildtools.xml:0: error: The document is not a xml-fragment@http://something/Buildtools: multiple document elements
via xmlbeans-user by Manoj Pansare, 1 year ago
S:\something\build\config\buildtools.xml:0: error: The document is not a xml-fragment@http://something/Buildtools: multiple document elements
via hivmr.com by Unknown author, 2 years ago
error: The document is not a url-template-config: document element namespace mismatch expected "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
via Oracle Community by 666705, 1 year ago
error: The document is not a url-template-config: document element namespace mismatch expected "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
org.apache.xmlbeans.XmlException: C:\JDeveloper\mywork\RegistryPocServcie\Project1\default.bpmn:0: error: The document is not a definitions@http://www.omg.org/bpmn20: document element namespace mismatch expected "http://www.omg.org/bpmn20" got "http://www.omg.org/spec/BPMN/20100524/MODEL"
at org.apache.xmlbeans.impl.store.Locale.verifyDocumentType(Locale.java:452)
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:357)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1273)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at org.omg.bpmn20.DefinitionsDocument$Factory.parse(Unknown Source)
at com.oracle.oer.sync.plugin.artifact.bpmn.BPMNIntrospector.generateArtifactAsset(BPMNIntrospector.java:131)
at com.oracle.oer.sync.plugin.artifact.bpmn.BPMNIntrospector.introspect(BPMNIntrospector.java:89)
at com.oracle.oer.sync.plugin.reader.file.FileReader.introspectFile(FileReader.java:414)
at com.oracle.oer.sync.plugin.reader.file.FileReader.readFromFileArray(FileReader.java:286)
at com.oracle.oer.sync.plugin.reader.file.FileReader.read(FileReader.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.flashline.util.classloader.ContextClassLoaderHandler.invoke(ContextClassLoaderHandler.java:39)
at undefined.$Proxy0.read(Unknown Source)
at com.oracle.oer.sync.framework.MetadataManager.start(MetadataManager.java:630)
at com.oracle.oer.sync.framework.ant.IntrospectTask.performRepositoryWork(IntrospectTask.java:314)
at com.oracle.oer.sync.framework.ant.RepositoryTaskBase.execute(RepositoryTaskBase.java:182)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.Main.start(Main.java:179)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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