File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes swf + richfaces NoSuchMethodError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "swf + richfaces NoSuchMethodError" Watch "swf + richfaces NoSuchMethodError" New topic
Author

swf + richfaces NoSuchMethodError

Ahsan Habib
Greenhorn

Joined: Sep 17, 2008
Posts: 22
I am a newbee in swf. While exploring I felt to use richfaces UI. According to swf manual, i updated web.xml to include richfaces filter. Included richfaces lib richfaces-ui3.2.2.GA (which includes dependency richfaces-impl as well).
Following is spring lib versions -
spring 3.0.0.RELEASE, swf 2.0.8.RELEASE, security 3.0.0.RELEASE

After deploy in tomcat 6 I get NoSuchMethodError. Stacktrace below. Googling not showing much help, guessing I'm doing some wrong with library version or richfaces configuration. Note that when I remove richfaces config, it works fine.

Any help is appreciated.


Ahsan Habib
SCJP5, SCWCD5
Ahsan Habib
Greenhorn

Joined: Sep 17, 2008
Posts: 22
That problem is solved. I download richfaces resources from springsource repository. But now i get different error -

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.ajax4jsf.resource.ResourceNotFoundException: Static resource not found for path /org/richfaces/renderkit/html/css/basic.xcss

Any suggestion is appreciated.
Ahsan Habib
Greenhorn

Joined: Sep 17, 2008
Posts: 22
I finally get it solved.

Springsource profides library of richfaces and impl version 3.1.4.GA and 3.2.1.GA. I used 2 jars of 3.1.4.GA and corresponding richfaces ui library from jboss repo, and all problem gone. Last time this ui lib was missing. Now I can play with swf with richfaces and spring security.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: swf + richfaces NoSuchMethodError