Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Richfaces with JSF 1.2 problem

843844Oct 15 2008 — edited Oct 16 2008
I have deployed Richfaces 3.2.x and wanted to use InplaceInput. I am facing a problem as follows when i start the server

java.lang.NoClassDefFoundError: org/richfaces/component/UIPanelMenuGroup

I have the following jars in my web-inf/lib
axis2-1.2.jar
commons-beanutils-1.7.0.jar
commons-collections-3.2.jar
commons-digester-1.8.jar
commons-logging-1.0.4.jar
core-3.2.1.GA.jar
el-api.jar
el-ri.jar
el.jar
jhighlight-1.0.jar
jsf-api.jar
jsf-facelets-1.1.14.jar
jsf-impl.jar
jstl.jar
richfaces-api-3.2.1.GA.jar
richfaces-impl-3.2.1.GA.jar
richfaces-ui-3.2.1.GA.jar
standard.jar
xercesImpl-2.8.1.jar

the jsf jars are of size : jsf-api.jar(356k), jsf-impl.jar (680k) - JSF 1.1 version

If i replace them with another set of jsf jars with size: jsf-api.jar(312k), jsf-impl.jar (1189k) [JSF 1.2], above problem vanishes. But when invoking jsp page, it shows another error as

Unable to load tag handler class "com.sun.faces.taglib.jsf_core.ViewTag" for tag "f:view"

I have jsf_core.tld and html_basic.tld in web-inf.

How to solve the above problem(s)?

If i use 3.1.x version of Richfaces the above problem doesnot happen (with any jsf jar versions) but Inplace Input doesnot work with it. Let me know if Inplace Input is not available in 3.1.x versions?

In my env. I have the following
Jboss 3.2.7
Richfaces 3.2.x
JSF 1.2

googling net shows that JSF 1.2 is supported well in JBoss 4.x and there is no info on how to make JSF 1.2 work in JBoss 3.2.x. Now can you tell me how to solve the problem in the scenario given above (without changing JBoss version to 4.x)

Comments

843844
Indianparadesi wrote:
I have jsf_core.tld and html_basic.tld in web-inf.
You shouldn't have tld files of 'standard' implementations lying around. Remove them all. Those should already be included in their respective JAR files which on its turn should already be placed in the classpath. Otherwise it would likely cause conflicts with each other.
googling net shows that JSF 1.2 is supported well in JBoss 4.x and there is no info on how to make JSF 1.2 work in JBoss 3.2.x. Now can you tell me how to solve the problem in the scenario given above (without changing JBoss version to 4.x)
I have no idea about JBoss, but I can tell that JSF 1.2 requires at least Servlet 2.5 / JSP 2.1 to get work. If your AS only supports Servlet 2.4 and you want to use JSF 1.2, then you could consider dropping JSP and use Facelets instead as view technology.
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 13 2008
Added on Oct 15 2008
1 comment
309 views