I am new to Eclipse. I am trying to run a jsp example using iText to generate a PDF, I put iText.jar file in Referense Library folder, but when I ran the jsp, I got error m
Right click on your project folder in the navigator, choose properties, choose java build path, select the libraries tab, click Add External Jars..., choose your jar. Click OK.
<%@ page import="com.lowagie.itext.Document" %>
(or whatever the package is) to the top of your JSPYou can also add this jar into the project lib folder(present in WEB-INF, if not present you can add a folder in WEB-INF).
Now you can either
Right click on your project folder in the navigator, choose properties, choose java build path, select the libraries tab, click Add External Jars..., choose your jar. Click OK.
or
Right click on your project folder in the navigator, choose properties, choose java build path, select the libraries tab, click Add Jars..., choose your jar. Click OK.
Hope this helps..