Hi, maybe important for someone here.
I found my problem today. In my Forte Explorer i have a lot of Testprojects with the
same classname but other content. I think the tomcat takes the first
class found from the classpath and use it. I have unmountet all older versions and
with the new one it works fine.
Thanxs for respones, it helps me to find my error.
Andreas Metz
-----Urspr�ngliche Nachricht-----
Von: Andreas Metz
Gesendet: Donnerstag, 14. M�rz 2002 18:08
An: 'Tag Libraries Users List' (E-Mail)
Betreff: Problems by Compling JSP's
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
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>