You don't want jsf-impl.jar and myfaces-impl*.jar at the same time.
They implement the same classes and may cause component and renderer
conflicts.

So if you want to use myfaces use
myfaces-impl-1.1.x.jar and myfaces-api-1.1.x.jar (use x as the same
version. 1.1.5 is the most JSF 1.1 compatible)

and if you want to use the Sun RI:
jsf-api.jar and jsf-impl.jar

They are configured differently too (hence why the exception for the
missing MyFaces class that you got).

On 6/1/07, Anupama Dande <[EMAIL PROTECTED]> wrote:
if i remove myfaces-impl-1.1.4.jar it gives me this error

SEVERE: Error configuring application listener of class
org.apache.myfaces.webapp.StartupServletContextListener
java.lang.ClassNotFoundException :
org.apache.myfaces.webapp.StartupServletContextListener

So right now.. my application is working with

     jsf-api.jar
     jsf-impl.jar
     myfaces-impl-1.1.4.jar

Thanks Andrew and I just hope this intermittent problem doesn't arise again


>>Anu



On 6/1/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> choose:
>
> jsf-api.jar
> jsf-impl.jar
>
> -or-
>
> myfaces-api-1.1.5.jar
> myfaces-impl-1.1.5.jar
>
> (don't mix 1.1.5 & 1.1.4 -- don't think that works)
>
> On 6/1/07, Anupama Dande <[EMAIL PROTECTED]> wrote:
> > Hi Andrew,
> >
> >     Went through the Jars list
> >
> > jsf-api.jar
> > jsf-facelets.jar
> > jsf-impl-messages.jar
> > jsf-impl.jar
> > jstl.jar
> > myfaces-api-1.1.5.jar
> > myfaces-impl-1.1.4.jar
> > tagHandlers-0.9.jar
> > tomahawk-1.1.3.jar
> > trinidad-api-incubator-m1-SNAPSHOT.jar
> > trinidad-impl-incubator-m1-SNAPSHOT.jar
> >
> > I was thinking maybe the jsf-api and myfaces-api-1.1.5 are the same
> > implementations.. and maybe you can help me out with others.
> >     And I don't have any exceptions during application deployment &
startup.
> >
> >
> > Thanks,
> > Anu
> >
> > On 6/1/07, Andrew Robinson < [EMAIL PROTECTED]> wrote:
> > > What impl are you using RI or MyFaces? What impl version (i.e. 1.1.5)?
> > >
> > > If MyFaces, do you have the following listener registered in your
web.xml :
> > >
org.apache.myfaces.webapp.StartupServletContextListener
> > >
> > > Make sure you have only one JSF API/impl set of Jars in your WAR.
> > >
> > > Were there any exceptions during application deployment & startup?
> > >
> > > On 6/1/07, Anupama Dande <[EMAIL PROTECTED]> wrote:
> > > > Hi Andrew,
> > > >
> > > >       testObj is Managed Bean and is defined in the faces-config.xml
as
> > > >
> > > >   <managed-bean>
> > > >      <description>My Manager</description>
> > > >      <managed-bean-name>testObj</managed-bean-name>
> > > >      <managed-bean-class>myPackage.testObjMgr </managed-bean-class>
> > > >
<managed-bean-scope>request</managed-bean-scope>
> > > >   </managed-bean>
> > > >
> > > >     and testListTable is UIXTable.
> > > >
> > > >     And I am using Trinidad, Facelets, Tomahawk.
> > > >
> > > > Thanks,
> > > > Anu
> > > >
> > > >
> > > >
> > > >
> > > > On 6/1/07, Andrew Robinson < [EMAIL PROTECTED] > wrote:
> > > > > Pretty self explanitory, #{testObj} is null. What is testObj,
where is
> > > > > it defined?
> > > > >
> > > > > On 6/1/07, Anupama Dande <[EMAIL PROTECTED]> wrote:
> > > > > > Hi All,
> > > > > >
> > > > > >     I am trying to figure out solution for the following problem
> > since 2
> > > > > > days.
> > > > > >
> > > > > > Problem:
> > > > > >
> > > > > >     Whenever I use a binding in the
> > > > > >
> > > > > >     <tr:table ....
> > > > > >             binding="#{ testObj.testListTable }" >
> > > > > >
> > > > > >     it is giving me an error as follows.
> > > > > >
> > > > > >
> > > > > > SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
> > > > > > javax.faces.el.PropertyNotFoundException:
> > > > > > /common/xhtml/test.xhtml @61,34 binding="#{
testObj.testListTable":
> > > > Target
> > > > > > Unreachable, identifier 'testObj' resolved to null
> > > > > >
> > > > > >
> > > > > > Any help is highly appreciated.
> > > > > >
> > > > > > Thanks,
> > > > > > Anu
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>


Reply via email to