File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes a4j is not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "a4j is not found" Watch "a4j is not found" New topic

a4j is not found

abhijita singha

Joined: Sep 07, 2010
Posts: 7
i m using rich faces 3.3.3 with jsf 1.2 and facelets 1.1.14
i m getting the a4j not found error
when using <a4j commandbutton
i think may be there is some problem with
so here is my file
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="" xmlns:xsi="" xsi:schemaLocation="">
<!-- Making the RichFaces skin spread to standard HTML controls -->
<!-- Defining and mapping the RichFaces filter -->
<display-name>RichFaces Filter</display-name>
<servlet-name>Faces Servlet</servlet-name>
<servlet-name>Faces Servlet</servlet-name>
<servlet-name>Faces Servlet</servlet-name>

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305

Welcome to the JavaRanch, Abhijita!

There is a "Code" button on our message editor. You can use that to add tags to your message that make code and XML samples more readable.

I think your message is actually coming from the "xhtml" page. You have to declare the a4j namespace like this:

Customer surveys are for companies who didn't pay proper attention to begin with.
abhijita singha

Joined: Sep 07, 2010
Posts: 7
yes it is from xhtml page......and i have done the name space declaration in the HTML tag itself
as i am a new bee in JSF i don't know about the composition....if you help me a little i m thankful to you
I agree. Here's the link:
subject: a4j is not found