File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes  Library problem! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark " Library problem!" Watch " Library problem!" New topic

Library problem!

sahar sa
Ranch Hand

Joined: Jul 06, 2009
Posts: 102
every time that I copy my project file from my PC to my laptop or vise versa. Project package will be marked by a sign and then for Resolving Reference Problem I have to remove all the library and add them again! For every time!
Do you Know how can I solve this problem?(I dont want to remove and add library every time that I want to copy them to another computer)

thank you!
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 689

Dear Sahar,

make your Jar file folder structure same as your laptop and your PC that is the single solution of your problem. When you add lib to your project your web application contains information of lib path where your PC or Laptop contains jar. Now where you change your project physical location that project contains old library path which is not found at your new computer. So make same folder structure in both computer.

Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
I agree. Here's the link:
subject: Library problem!
jQuery in Action, 3rd edition