3

I used to deploy a JSF+Primefaces app in a Glassfish server without any trouble. Recently I upgraded my NetBeans version. I haven't had any problems with the most of the applications after that. But with one of them when I tried to do the deployment, it failed and this was the error message:

Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'jar:file:/opt/glassfish3/glassfish/domains/domain1/applications/[name-of-the-application]/WEB-INF/lib/javax.faces.jar!/META-INF/mojarra_ext.taglib.xml': null. Please see server.log for more details.

It seems like all is ok with the project (cleans and build well), but the error keeps appearing. This is the environment I'm using:

  • NetBeans 7.3.1
  • JSF 2.2 (Mojarra)
  • GlassFish Open Source Edition 3.1.1 (build 12).

PS: When I try to do the deployment with Glassfish 3 bundled in NetBeans, this is the error:

SEVERE: Error during deployment : class com.sun.faces.application.annotation.PersistenceUnit Scanner cannot access its superinterface com.sun.faces.application.annotation.Scanner

Thanks

4

1 に答える 1