I am creating a JSP page UploadFile.jsp. I keep getting an error on an import line. The org.apache.commons.fileupload.disk cannot be resolved.
I need this package as I need the DiskFileItemFactory class in my code.
Based on my online research, I pasted the following JAR files to the WEB-INF/lib folder. commons-fileupload-1.0-5.5.23.jar, commons-io-2.11.0.jar, org.apache.commons.io.jar and poi-3.17.jar. I still kept getting the error. I then added these JAR files to the classpath but it did not resolve the issue.
I would appreciate any help in resolving this issue.