wood burning stoves*
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: 2885
    
  13

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
My Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java with ofbiz
 
Similar Threads
Creating an Excel file from Java
Error in POI
CSV file opening in Excel - cell auto adjustment using JasperReports
Java code to merge 2 columns in a CSV file
create, read and write ms excel through j2ee( jsp, ejb, servlets)