0

i want to put my necessary jar files in my ofbiz-trunk folder.but i don't know where i place the jar files.please tell me the location...

Bye,

Saravanan

Saravanan
  • 11,372
  • 43
  • 143
  • 213

2 Answers2

0

I suggest you try putting them under framework/webapp/lib and see if the classes get loaded successfully at runtime

This URL has an example of adding 3rd party jars into OFBiz under hot-deploy/myapp/webapp/myapp/WEB-INF/lib.

JoseK
  • 31,141
  • 14
  • 104
  • 131
  • jose can u tell me one thing, if i put the location u said,then how to import those file in my java class... import org.ofbiz.then the jar file class ,right... – Saravanan Oct 06 '10 at 08:46
  • the order of import does not matter. if the class is not found, it will crib anyway. – JoseK Oct 06 '10 at 09:15
  • Hi Jose, i put the jar files(poi-3.6) in the path u said, both framework/webapp/lib and also hot-deploy/myapp/webapp/myapp/WEB-INF/lib.but when building ofbiz it says package does not exist.... please guide me to get correct way... – Saravanan Oct 09 '10 at 07:02
0

We have been using Ofbiz for a while and have always placed 3rd party JARs in famework/base/lib folder and these JARs become available to all the applications/components in Ofbiz.

anubhava
  • 761,203
  • 64
  • 569
  • 643