Bonjour,
Encore un nouveau probleme ...
Pour la connection ldap, j arrive a faire les env.put, mais il n arrive jamais a m initialiser un context , il y a une erreur sur le
DirContext ctx = new InitialDirContext(env);
le serveur me dit:
[04/févr./2004:13:12:46] failure ( 328): Internal error: exception thrown from the servlet service function (uri=/new/test2.jsp): java.lang.NoClassDefFoundError: javax/naming/directory/InitialDirContext, Stack: java.lang.NoClassDefFoundError: javax/naming/directory/InitialDirContext
at _jsps._n_00025w._test2_jsp._jspService(_test2_jsp.java:188)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java, Compiled Code)
Partager