• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlet to generate the pdf file

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic