salut a vous. je vous en prie, aidez moi a résoudre cette erreur.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
Type Exception report
 
messageInternal Server Error
 
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
 
exception
 
javax.servlet.ServletException: Error instantiating servlet class com.gef.controller.PaysController
root cause
 
com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class com.gef.controller.PaysController
root cause
 
com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Remote ejb-ref name=com.gef.controller.PaysController/paysDao,Remote 3.x interface =com.gef.dao.PaysDao,ejb-link=null,lookup=,mappedName=,jndi-name=com.gef.dao.PaysDao,refType=Session into class com.gef.controller.PaysController: Lookup failed for 'java:comp/env/com.gef.controller.PaysController/paysDao' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}
root cause
 
javax.naming.NamingException: Lookup failed for 'java:comp/env/com.gef.controller.PaysController/paysDao' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=com.gef.controller.PaysController/paysDao,Remote 3.x interface =com.gef.dao.PaysDao,ejb-link=null,lookup=,mappedName=,jndi-name=com.gef.dao.PaysDao,refType=Session' .  Actual (possibly internal) Remote JNDI name used for lookup is 'com.gef.dao.PaysDao#com.gef.dao.PaysDao' [Root exception is javax.naming.NamingException: Lookup failed for 'com.gef.dao.PaysDao#com.gef.dao.PaysDao' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: com.gef.dao.PaysDao#com.gef.dao.PaysDao not found]]]
root cause
 
javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=com.gef.controller.PaysController/paysDao,Remote 3.x interface =com.gef.dao.PaysDao,ejb-link=null,lookup=,mappedName=,jndi-name=com.gef.dao.PaysDao,refType=Session' .  Actual (possibly internal) Remote JNDI name used for lookup is 'com.gef.dao.PaysDao#com.gef.dao.PaysDao' [Root exception is javax.naming.NamingException: Lookup failed for 'com.gef.dao.PaysDao#com.gef.dao.PaysDao' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: com.gef.dao.PaysDao#com.gef.dao.PaysDao not found]]
root cause
 
javax.naming.NamingException: Lookup failed for 'com.gef.dao.PaysDao#com.gef.dao.PaysDao' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NameNotFoundException: com.gef.dao.PaysDao#com.gef.dao.PaysDao not found]
root cause
 
javax.naming.NameNotFoundException: com.gef.dao.PaysDao#com.gef.dao.PaysDao not found