Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
Michele Giacobazzi
Liferay 6.1 Unable to load class ResolvingXMLReader
5 de Junho de 2012 02:08
Resposta

Michele Giacobazzi

Ranking: Junior Member

Mensagens: 37

Data de entrada: 9 de Setembro de 2011

Mensagens recentes

I get this exception in a loop, often, on portlet redeploy:

1
2Unable to load class [org.apache.xml.resolver.tools.ResolvingXMLReader] to check against the @HandlesTypes annotation of one or more Servl
3etContentInitializers.


Can anyone help?
David H Nebinger
RE: Liferay 6.1 Unable to load class ResolvingXMLReader
5 de Junho de 2012 06:04
Resposta

David H Nebinger

Ranking: Liferay Legend

Mensagens: 7852

Data de entrada: 1 de Setembro de 2006

Mensagens 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
RE: Liferay 6.1 Unable to load class ResolvingXMLReader
6 de Junho de 2012 03:11
Resposta

Michele Giacobazzi

Ranking: Junior Member

Mensagens: 37

Data de entrada: 9 de Setembro de 2011

Mensagens recentes

this.. it works once every 2 deploy
Michele Giacobazzi
RE: Liferay 6.1 Unable to load class ResolvingXMLReader
15 de Junho de 2012 05:19
Resposta

Michele Giacobazzi

Ranking: Junior Member

Mensagens: 37

Data de entrada: 9 de Setembro de 2011

Mensagens 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:

<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">