|Adding jar files to an old JSF project [message #912512]
||Thu, 13 September 2012 17:33
| Christopher Sharp
Registered: September 2012
I've just joined this forum and this is my first posting.|
For the first time in 4 years I'm trying to resurrect an old JSF project. It was created without an IDE using a console in Linux. I've since installed Eclipse Indigo release 2, which I'm using on a Windows Vista computer, and works correctly with simple Java projects.
I'm now trying to get this old JSF project working with Eclipse before I change it, but I'm having problems with some jar files. The old code imported the class org.apache.myfaces.custom.fileupload.UploadedFile. The associated jar file is commons-fileupload-1.1.jar. There are three other jar files that may be required, but after 4 years I can't remember. They are commons-el.1.0.jar, commons-io.1.2.jar and commons-logging-1.1.1.jar.
I copied the first file to WebContent/WEB-INF/lib/ then configured the build path to include it, but the class using UploadedFile does not recognize it. I did the same with the other three files, but that is still the case. What has to be done to get UploadedFile working?
The three other classes in the project do not use UploadedFile, and look OK so far. Incidentally, the old project used JSF 1.2, but I'm now using JSF 2.0, and wonder if that may be part of the problem.
Advice and help would be most appreciated.
Powered by FUDForum
. Page generated in 0.02239 seconds