Fórum
Liferay 6.1 Unable to load class ResolvingXMLReader
Michele Giacobazzi, modificado 11 Anos atrás.
Liferay 6.1 Unable to load class ResolvingXMLReader
Junior Member Postagens: 40 Data de Entrada: 09/09/11 Postagens Recentes
I get this exception in a loop, often, on portlet redeploy:
Can anyone help?
Unable to load class [org.apache.xml.resolver.tools.ResolvingXMLReader] to check against the @HandlesTypes annotation of one or more Servl
etContentInitializers.
Can anyone help?
David H Nebinger, modificado 11 Anos atrás.
RE: Liferay 6.1 Unable to load class ResolvingXMLReader
Liferay Legend Postagens: 14914 Data de Entrada: 02/09/06 Postagens Recentes
I'm guessing you missed the jar in the liferay-plugin-package.properties file that has the missing class. Add it as a dependent jar and re-deploy.
Michele Giacobazzi, modificado 11 Anos atrás.
RE: Liferay 6.1 Unable to load class ResolvingXMLReader
Junior Member Postagens: 40 Data de Entrada: 09/09/11 Postagens Recentes
this.. it works once every 2 deploy
Michele Giacobazzi, modificado 11 Anos atrás.
RE: Liferay 6.1 Unable to load class ResolvingXMLReader
Junior Member Postagens: 40 Data de Entrada: 09/09/11 Postagens Recentes
it's a tomcat problem, solved with version 7.0.24.
To avoid the "lots of warning" part you can add metadata-complete="true" to your portlet's web.xml :
My example:
To avoid the "lots of warning" part you can add metadata-complete="true" to your portlet's web.xml :
My example:
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" metadata-complete="true">