lunes, 18 de febrero de 2013

Deploying JasperServer on Glassfish V2 final

After following the JasperServer installation guide step by step in order to deploy the JasperServer.war in an existing Glassfish V2 installation I got this exception when trying to start the app server:

java.lang.IllegalAccessException: Class com.sun.jersey.core.spi.component.ComponentConstructor can not access a member of class com.sun.jersey.json.impl.provider.entity.JSONArrayProvider with modifiers ""

It looks like there's a a conflicting jakson-jersey libs by default in glassfish V2 final. To correct the problem you must download Jerseys libs and replace the ones in [glassfish-folder]/lib. Specifically the bad libs are: 

You can find the non conflicting libs here:

No hay comentarios:

Publicar un comentario