Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem finding jar file

 
Sabber bhatia
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,

i deployed my application but the problem is my application requires a jar file which i put in library and set environment variable but still its giving error not finding jar file.


Thanks
Sabeer
 
Matteo Di Furia
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this a web app ? I suppose so, since you posted this in Servlet section. Hence, put your jar in /WEB-INF/lib and restart the application. Should run.
If it's not a web app, this is the wrong section, anyway make sure your jar is included in the CLASSPATH environment variable.
 
Sabber bhatia
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yah i put jar file in web-inf and restarted my application but still giving error,is there be any other solution
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you put the jar files in WEB-INF/lib as suggested?
 
Santosh Kolekar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do redeploy aplication after adding jar files in WEB-INF/lib.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64990
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sabber bhatia:
yah i put jar file in web-inf and restarted my application but still giving error,is there be any other solution

It's WEB-INF not web-inf.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic