xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arian Hojat <armyofda12mnk...@gmail.com>
Subject error in servlet: org/apache/batik/dom/svg/SVGDOMImplementation (Illegal UTF8 string in constant pool)
Date Thu, 28 Apr 2005 14:23:57 GMT
Hello guys,
i get an error with this line of code. 

>>>> DOMImplementation impl = SVGDOMImplementation.getDOMImplementation();
        svgDoc =
impl.createDocument(SVGDOMImplementation.SVG_NAMESPACE_URI, "svg",
null);
        Element svgRoot = svgDoc.getDocumentElement();
        svgRoot.setAttributeNS(null, "width", "800");
        svgRoot.setAttributeNS(null, "height", "600");
        svgRoot.setAttributeNS(org.apache.batik.util.XMLConstants.XMLNS_NAMESPACE_URI,
"xmlns:xlink", "http://www.w3.org/1999/xlink");//xMidYMid meet
        


not sure whats up here. seems to not work on a unix tomcat server. but
works fine on my windows tomcat server. any ideas?



java.lang.ClassFormatError:
org/apache/batik/dom/svg/SVGDOMImplementation (Illegal UTF8 string in
constant pool)
	java.lang.ClassLoader.defineClass0(Native Method)
	java.lang.ClassLoader.defineClass(ClassLoader.java:539)
	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
	org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
	java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
	w4.doGet(w4.java:41)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message