Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in WEB-INF/lib

 
Kidd He
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Tomcat5.5,and have a application named myapp.
There are two packages under the myapp/WEB-INF/classes.The classes in "servlet" package extends HttpServlet, they will import another package named "java_c" and use the class in java_c.
Now I want to make the java_c package into a jar file, and remove the java_c package in the WEB-INF/classes/, put the jar file in the WEB-INF/lib/.But after I did that, there is a exception that the class in the java_c package can't be found.
Why?What should I do?
Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65340
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should work if you've constructed the jar file correctly.
 
Kidd He
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
Should work if you've constructed the jar file correctly.


I use eclipse to make the jar file without warning and error.
 
Kidd He
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem has been solved,thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic