Glassfish+richfaces+netbeans

1 resposta
joaosavio

ae pessoal alguem sabe como configurar?

tem algum projeto-exemplo?

eu estava tentando usando o manual do site
mas ta dando erro

WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/teste'
WebModule[/teste]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
        at org.ajax4jsf.application.DebugLifecycleFactory.<clinit>(DebugLifecycleFactory.java:39)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
...
PWC1306: Startup of context /teste3 failed due to previous errors
PWC1240: Container WebModule[/teste3] has not been started
NAM0002: Exception in NamingManagerImpl copyMutableObject().
java.lang.IllegalArgumentException: Illegal null argument to ObjectInputStreamWithLoader
        at com.sun.enterprise.util.ObjectInputStreamWithLoader.<init>(ObjectInputStreamWithLoader.java:61)
        at com.sun.enterprise.naming.NamingUtils.makeCopyOfObject(NamingUtils.java:73)
        at com.sun.enterprise.naming.LocalSerialContextProviderImpl.rebind(LocalSerialContextProviderImpl.java:105)
        at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:492)
        at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:507)
        at javax.naming.InitialContext.rebind(InitialContext.java:412)

abraços
e valeu

1 Resposta

renan_

Caro joaosavio, o novo richfaces necessita de mais uma lib commons…

commons-logging

http://commons.apache.org/logging/

faca o download, adiciona a lib ao projeto e pronto, rodará perfeitamente.

Att,

Renan

Criado 8 de abril de 2008
Ultima resposta 9 de abr. de 2008
Respostas 1
Participantes 2