Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error when running cometD primer #876

laeeqkhan01 opened this issue Sep 10, 2019 · 1 comment


Copy link

commented Sep 10, 2019

I followed instructions as described in

it goes till step "mvn install" without error, but when I try to run it, I get following fata errors,

[INFO] jetty-9.4.18.v20190429; built: 2019-04-29T20:42:08.989Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 12.0.2+10
[WARNING] FATAL@null line:1 col:14 : org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 14; The processing instruction target matching "[xX][mM][lL]" is not allowed.
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@177c41d7{/dojo-jetty9-primer,[file:///C:/workspace/tst/d_cmt/primer/t2/dojo-jetty9-primer/src/main/webapp/, file:///C:/workspace/tst/d_cmt/primer/t2/dojo-jetty9-primer/target/jetty_overlays/cometd-javascript-dojo-4_0_4_war/],UNAVAILABLE}{file:///C:/workspace/tst/d_cmt/primer/t2/dojo-jetty9-primer/src/main/webapp/}
org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at (
at (`

Also, when I try to go to page, http://localhost:8080/dojo-jetty9-primer/

I get Error 503,
This page isn’t working
Any ideas, what I could be doing wrong.


This comment has been minimized.

Copy link

commented Sep 10, 2019

This is typically due to the fact that there is a BOM at the beginning of the XML file.
You appear to be on Windows, so if you cut/pasted from the documentation to create the XML file, depending on the editor you used on Windows you have to disable the BOM (could be an option in the editor), or manually remove it from the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.