This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "java with ofbiz" Watch "java with ofbiz" New topic

java with ofbiz

Saravanan Palanisamy

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; 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.,

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: 2891

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:
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
create, read and write ms excel through j2ee( jsp, ejb, servlets)
Java code to merge 2 columns in a CSV file