No embedded stylesheet instruction for file: error using logback

It's an Eclipse bug, I've noticed it too. Make sure that you're running the right Eclipse Runtime config (i.e. if you're clicking on the little green "Play" button on the top, thinking it will re-run the last (valid) Runtime you've ran, re-check (by clicking on the down arrow next to it) to make sure no new Runtime has been created).

What I've noticed it that even though I create a perfectly valid run-time pointing to a Java main class and everything, which I run a few times and all is good, after a while, if I select an xml file (because I wanted to edit it for example) and then leave it selected as I click on my run button, Eclipse will create a new XSLT Transformation run time for that xml file and try to run it, failing with the exception you report. The solution is to erase that run time, make sure I have no xml file selected, and re-run the correct run time.


I had the same problem with the newest Eclipse Juno Version. First it seems to be a bug inside Eclipse. After closing the active window inside Eclipse (with the spring-configuration.xml openend) I was able to start the spring container without this error. So it was depending on the run configuration. Take care that you start your "main" class and that you not try to "run" the xml-configuation. That solved the issue for me (Eclipse selected automatically the xml to run).