Hi,

i'm new in working with taglibs. Now i have a problem, which i cannot solve. I hope 
someone can help me.

I have made a simple taglib example. Now i try to start it. In the case that i have a 
.class file and a .tld it works fine. If i packed these file to a .jar and try it 
again it will never work.
The pathes are all correct. This is sure. The example compiles but i get following 
error again and again.

java.lang.NoClassDefFoundError: netscape/ldap/LDAPException
        at ite.fokBeans.fokDB.(fokDB.java:25)
        at com.ite.util.taglib.db.GetLocalizedTag.(GetLocalizedTag.java:31)
        at 
_0002findex_0002ejspindex_jsp_0._jspService(_0002findex_0002ejspindex_jsp_0.java:71)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
        at org.netbeans.modules.web.tomcat.JspServlet.service(JspServlet.java:91)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

There are some things i dont unterstand. The ite.fokBeans.fokDB class is not in my 
path, and i dont know why the compiler looks after that file or gives me a error. If i 
delete all tomcat files in the workfolder it will recompile and it gives me the same 
error. I dont know what i can do else, i have tried out many things. But it didnt 
work. I use Forte for Java and the Forte-tomcat. 
I hope it is enough information that someone can help me. 

Thanxs, 

Andreas Metz


Reply via email to