File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes java with ofbiz Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "java with ofbiz" Watch "java with ofbiz" New topic
Author

java with ofbiz

Saravanan Palanisamy
Greenhorn

Joined: Jul 02, 2010
Posts: 2
Hi to all,

I am new to CodeRanch WebPortal.I have a problem with ofbiz framework. we are developing java application with Apache poi for reading and writing excel sheet.

Normally, the jar file for apache poi is always put in the ofbiz by default.Now i invoke the ofbiz, it says, imported apache poi packages files like... import org.apache.poi.ss.usermodel.DataFormatter; it does not exist.... it is the same case for all packages that i included...!

Already i was used jexcelapi for reading and writing excel files.but i don't know the exact place to put the jar files...... or do i need to specify the classpath for jar files........?

Please anybody give suggestion to me... I am in deadLine.

I am expecting your valuable reply asap...!


Thanks & Regards.,
P.SARAVANAN




Nilesh Miskin
Ranch Hand

Joined: Jun 17, 2010
Posts: 44
You should have the jar file in the classpath.


Nilesh Miskin
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3177
    
  47

Welcome to JavaRanch

When compiling the classes, you should include those jar files in the classpath. When running/deploying the application, all of those external jar files should be placed in (copied to) WEB-INF/lib directory.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java with ofbiz