This content has been marked as final. Show 9 replies
Sounds more like a jar version problem. Which jars do you have in your lib?
Yes, i am having jar problems. But not able to figure out which one is causing problem.
Here are my jars
You seem to have the right richfaces jar. How are you deploying when you get this error? Are you perhaps using an IDE with it's own different version on richfaces jars?
Yes, I am creating war file from eclipse itself. In the build path, jsf jars are added twice , one in mojarra libraries and one in Web app libraries. Removed mojarra library and it is now working. Thanks and appreciate your help.
Also, I have a question some how my war file is not auto deploying when I put war file in Tomcat server. I did other applications without jsf and richfaces and it auto deploys. Can you tell me what could be the reason ?
I am still getting the same error. In my previous reply, I said the error got resolved but i didn't notice i commented those tags from xhtml files. when I uncomment the file , the error is still appearing.
My eclipse info...
Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 2
Just an FYI, I started with jre 1.6 , jsf 2.0 , tomcat 6.0.18 and everything was working fine . Then I realize my prod environment is jre 1.5 , tomcat 6.0.18, so downgraded the versions for jsf, jdk, jre and got the error.
Edited by: user618018 on Feb 1, 2013 2:21 PM
In the build path, jsf jars are added twice , one in mojarra libraries and one in Web app libraries.Why? Recipe for disaster.
Just an FYI, I started with jre 1.6 , jsf 2.0 , tomcat 6.0.18 and everything was working fine . Then I realize my prod environment is jre 1.5 , tomcat 6.0.18, so downgraded the versions for jsf, jdk, jre and got the error.So upgrade production.
In my development box , I can use any version of jre, tomcat.
But, we have our department dev and prod server configured with jre 1.5 and tomcat 6.0.18
Some other applications are running in those environment with jre 1.5 and tomcat 6.0.18. I cannot upgrade just for new application.
when tomcat6 was downloaded in our department dev and prod server , they are installed with jre5. Subsequently servers are upgraded with jre6 but it seems like tomcat recognises jre5 not jre6. Let me know if i am wrong about jre version tomcat is trying to use.
Also, can you help me with the environment I have and problems i am encountering with jsf and richfaces.
Edited by: user618018 on Feb 1, 2013 5:03 PM
Don't let an IDE decide which jars go into your application. Use a proper build tool like maven (it has eclipse tooling too) and be certain which jars and versions are deployed.
I cannot upgrade just for new application.You don't have any choice about it. The problem exists in the production configuration and not in the development configuration. QED.