Ok, but, perhaps, the problem comes from El-api, I delete the myfaces jars on
the server and the problem persist.. 

the head of the exception is:

 javax.el.ELException: /html/elanpremium/sim02.xhtml:
java.lang.ClassNotFoundException: SelectItem
        at
com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:55)
        at
com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)

 
mind you that the package name is not denoted..



lmk wrote:
> 
> myfaces jars exist on \jbossweb-tomcat55.sar\jsf-libs.but,I  thought jboss
> look for api on the application lib folder first..
> I delete the jsf-libs  folder, i still have the same exception..
>  
> 
> 
> Mike Kienenberger wrote:
>> 
>> This is definitely a classloader/configuration issue.
>> 
>> Perhaps you have multiple copies of the jsf-api jar in your path.   Be
>> sure you don't have another version of Myfaces or the JSF-RI in your
>> classpath somewhere.   Some versions of JBoss ship with MyFaces
>> preinstalled.
>> 
>> On 2/27/07, lmk <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi,
>>>
>>> I try to run facelets application on Jboss server, when I use selectItem 
>>> i
>>> get the exception below; i have myfaces-impl.jar and my-faces-api.jar on
>>> lib
>>> folder, I dont have any compilation problem..
>>> I will be off one's head!!!!
>>> thanks...
>>>
>>> javax.faces.FacesException: java.lang.ClassNotFoundException: SelectItem
>>>         at
>>> org.apache.myfaces.shared_impl.util.ClassUtils.simpleJavaTypeToClass(ClassUtils.java:223)
>>>         at
>>> org.apache.myfaces.config.ManagedBeanBuilder.initializeProperties(ManagedBeanBuilder.java:182)
>>>         at
>>> org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:55)
>>>         at
>>> org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:314)
>>>         at
>>> com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
>>>         at
>>> com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
>>>         at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
>>>         at
>>> com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
>>>         at
>>> com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
>>>         at
>>> com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
>>>         at javax.faces.component.UIOutput.getValue(UIOutput.java:80)
>>>         at
>>> org.apache.myfaces.shared_impl.renderkit.RendererUtils.getObjectValue(RendererUtils.java:186)
>>>         at
>>> --
>>> View this message in context:
>>> http://www.nabble.com/-facelets--problem-using-SelectItem-tf3301779.html#a9184631
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-facelets--problem-using-SelectItem-tf3301779.html#a9201692
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to