The markup in the document preceding the root element must be well-formed

Hi,

Each time I add some library, something serious happens to my NetBeans5.5 and Tomcat 5.5.17. This time I added jsf-facelets.jar and now nothing is being deployed. I m getting following exception

javax.servlet.ServletException: Error Parsing /Dept.jsp: Error Traced[line: 1] The markup in the document preceding the root element must be well-formed.

javax.faces.webapp.FacesServlet.service(FacesServlet.java:202)

.............................

.............................

Is there any special procedure to follow to add libraries?

Plz help.

[593 byte] By [AlexCoxwella] at [2007-11-26 20:17:15]
# 1
and I just noticed that presistence.xml has started issueing this validation message. But I never changed it today. what happened to it?
AlexCoxwella at 2007-7-10 0:40:31 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...