Further to this, I added Xerces to /lib directory of .war file only to be faced
with the following exception.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException:
java.lang.NoClassDefFoundError: com/ibm/icu/text/Normalizer
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
javax.servlet.ServletException: java.lang.NoClassDefFoundError:
com/ibm/icu/text/Normalizer
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
org.apache.jsp.search_jsp._jspService(search_jsp.java:895)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Is anyone aware if these are linked in any way or not.
Thank you
Lewis
From: McGibbney, Lewis John [mailto:[email protected]]
Sent: 10 January 2011 17:24
To: '[email protected]'
Subject: exception error - java.lang.NoClassDefFoundError:
org/apache/xerces/util/XMLChar
Hello list,
First post on Xerces list so please excuse any parts I have missed which may
seem obvious.
I am currently attempting to get a plug-in working with a webapp and keep
experiencing the exception error stated above. I am aware that this may mean
that specific .jar files are not included in the classpath for my servlet. I
have posted part of my Tomcat server log for further exception report. The
version of Xerces I am working with is 2.6.1.
10-Jan-2011 16:41:46 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.ClassNotFoundException: org.apache.xerces.util.XMLChar
...
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year
2009 and Herald Society's Education Initiative of the Year 2009
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html