• Post Reply Bookmark Topic Watch Topic
  • New Topic

package doesn't exist exception  RSS feed

 
Mandar Velankar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using Tomcat 5.0.16 at my office.
I added new jar file poi-2.0-final-20040126.jar into WEB-INF/lib of my web application & restarted tomcat. But when I use import statement to include package in jsp page , it throws package doesn't exist exception.I also set classpath to above jar file, but still it throws exception.Where is problem?
Thanks a lot.Waiting for your replies.
 
Rao Raghu
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try putting a copy of this jar in commons/lib also.
 
Mandar Velankar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks raghu ,

I find out my mistake , I extracted all class files within jar file into

WEB-INF/classes dir , and I got package structure , i am importing wrong

package which doesn't exist , actually I done so according to docs

available, but anyhow I got correct package structure. It is working fine.

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!