I was running the examples given in the chapter 3 of Spring in Action examples.When i am running these examples i was getting some error so i googled and found out that it needs cglib.jar so added manually.
Do you add jars required for a project manually every time you create project.Whenever i create spring project in Eclipse i add commons-logging.jar,spring.jar etc..manually...
I feel adding required jar files for a project should be done automatically.
I am not a professional developer just learning Java by my self so did not know about this fact.Anyway i will learn how to use maven to avoid that tedious task of adding jars manually.
I think this is the lamest doubt in the world of J2EE
Karnati Sudhakar wrote:
I think this is the lamest doubt in the world of J2EE
Nah. We get lots of lamer stuff than that.
Maven is good because once you get a whole raft full of projects going, you don't clutter up your system with duplicate copies of common jars.
Another approach I've used is to create a "lib" project that holds master copies of common jars and have the child projects copy from there when I do a build. I use this approach with Ant sometimes.
Customer surveys are for companies who didn't pay proper attention to begin with.