Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Frank Langelage Newsgroups: comp.lang.java.programmer Subject: Re: JSF 2 and Richfaces 4 - fileUpload Date: Tue, 27 Dec 2011 12:42:40 +0100 Lines: 25 Message-ID: <9ltp9iF1n2U1@mid.individual.net> References: <9ljd67FpukU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net VWtNuMSJjdY87c7XE3r5mgBW57E2q0enb4ti04yY753jgEn98= Cancel-Lock: sha1:rMzv1tfdZkM3eyG+lG6idKZ+Z/o= User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:6.0.2) Gecko/20110905 Thunderbird/6.0.2 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11008 On 27.12.11 09:47, Hollow Quincy wrote: > On 23 Gru, 14:14, Frank Langelage wrote: >> On 23.12.11 13:09, Hollow Quincy wrote: > [...] >>> [ERROR] class file for javax.faces.event.FacesEvent not found >>> I can see that >>> public class FileUploadEvent extends FacesEvent >>> but it is true, that I cannot find class: >>> javax.faces.event.FacesEvent > [...] >> This class is in jsf-api.jar, seems that it's not in your classpath >> during compilation. > > Probably you are right, but when I checked where can I find this jar > in findJar.com page: > http://www.findjar.com/index.x?query=jsf-api > I could see that JSF 1.2 contains this jar, but I am using JSF 2 ! > Should I really use "jsf-api-1.2.jar in javax/faces/jsf-api/1.2" ? How can you say you're using JSF 2.0? Anyhow, look at http://javaserverfaces.java.net/download.html to download the required jars or for the maven integration. You should use the same version for compilation and runtime.