The error is thrown only when I import the sandbox jar file to my web-inf/lib.
I extract the jar file and cannot found the LocationAware.class. Jan Baumann wrote: > > just to make sure : check if the library is deployed correctly to your > webserver at all. if it isn't, check why this is the case ;). > > user08070101 schrieb: >> Replaced but java.lang.NoClassDefFoundError: >> org/apache/myfaces/component/LocationAware is thrown >> >> >> >> Cagatay Civici wrote: >>> As simon mentioned, it's not a good idea to use tomahawk 1.1.1 with >>> sandbox >>> 1.1.7-snapshot. >>> >>> Just replace tomahawk 1.1.1 with tomahawk 1.1.7-SNAPSHOT >>> >>> On Wed, Aug 27, 2008 at 10:16 AM, user08070101 < >>> [EMAIL PROTECTED]> wrote: >>> >>>> >>>> Hi, >>>> >>>> Another problem: >>>> >>>> When I import the sandbox jar file, the eclipse can recoginise the tag >>>> library now. >>>> >>>> But, when I run the application, the class not found exception is throw >>>> >>>> java.lang.NoClassDefFoundError: >>>> org/apache/myfaces/component/LocationAware >>>> >>>> Should I import another jar for the sandbox? >>>> >>>> >>>> >>>> >>>> >>>> user08070101 wrote: >>>>> HI, >>>>> >>>>> My current JSF application use the Richfaces with RI implement. I want >>>> to >>>>> add myfaces components to my application. I have imported the >>>>> tomahawk-1.1.1.jar to my web-inb\lib and add the following code to my >>>> jsp >>>>> page: >>>>> <%@ taglib prefix="s" uri="http://myfaces.apache.org/sandbox" %> >>>>> >>>>> However, the error "cannot find the tag library descriptor for >>>>> http://myfaces.apache.org/sandbox" is shown. >>>>> >>>>> How to fix the problem? Thanks >>>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Can-myfaces-use-the-JSF-RI-implement--tp19174984p19175860.html >>>> Sent from the MyFaces - Users mailing list archive at Nabble.com. >>>> >>>> >>> >> > > -- View this message in context: http://www.nabble.com/Can-myfaces-use-the-JSF-RI-implement--tp19174984p19176306.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

