2

I have a problem related to my adf application in jdeveloper 11g. When i build my application,i take these errors:

enter image description here

These errors in code-behind:

import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.DateUtil;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.usermodel.WorkbookFactory;

I have investigated this error and i have learned that this error is related to apache poi. I have controlled my application and i have poi-3.9-20121203.jar file in my application folder :

C:\roket1\ViewController\public_html\WEB-INF\lib

What can i do to get rid of these errors ? Thanks in advance.

rockenpeace
  • 1,011
  • 5
  • 18
  • 29

2 Answers2

1

It looks like you haven't constructed a path with the package you are willing to use inside your project.

Please refer to the following threads:

How to set the java.library.path from Eclipse

How to setup classpath in Netbeans?

That should resolve the problem.

Community
  • 1
  • 1
e.doroskevic
  • 2,129
  • 18
  • 25
1

If you are using JDeveloper then you can add libraries to your classpath with the following:

Add the JAR files you want to be in the classpath to the project's libraries. (Double click on a project to go to project settings - libraries- and shuttle the correct libraries to the right , or add your own libraries.

Ashish
  • 1,121
  • 2
  • 15
  • 25