Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet to generate the pdf file  RSS feed

 
t raju
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Friends
The servlet program have to generate the pdf file.. for this in servlet program iam importing the classes which are available form itext-1.3.jar file.. Inorder for this i set this itext-1.3.jar file in the class path and path..
iam using the weblogic server as my application server..
when i deploy and iam not getting errors in weblogic server..
But when i try to access the servlet from the browser iam getting errors in the weblogic server as

In this the name of my servlet is testservlet.java

Below is the error iam getting..

Servlet class testservlet for servlet testservlet could not be lo
aded because a class on which it depends was not found in the classpath G:\beanew\weblogic700samples\server\config\examples\examplesServer\stage\_appsdir_mytest_war\mytest.war;g:\beanew\weblogic700samples\server\config\examples\.\examplesServer\.wlnotdelete\_appsdir_mytest_war_mytest_1330746\jarfiles\cls27603.jar.

java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException



Please any one help me... to solve this...
how will the bea weblogic server identify the classes in the userdefined jar file i use..
 
Shailesh Chandra
Ranch Hand
Posts: 1084
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
verify that itext-1.3.jar file is at path web-inf/lib.
if not then place the jar file at same path

Shailesh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!