Build and Install Facelets Support Modules on NetBeans 6.1

There are lots of requests that asking when and how the Facelets support be available on NetBeans 6.1. Yes, there is plan to officially release the support NBMs by the update center for NetBeans 6.1. We are currently working on that to resolve several compatible issues and migrate the internal APIs usage to NetBeans 6.1. When it is ready for the final release, we will announce it and make it available and show them under the Available Plugins list of NetBeans 6.1.

Build from Sources

According to the Open Sources concept, any users or developers can always pre-build their latest binaries and try/test before the official releases. This is also true for the Facelets plugin and believe me, it's very simple and can be done in just minutes! We have already done many tasks for the NetBeans 6.1 migration to ease the build requirement.

  1. Install your NetBeans 6.1 if you have not yet done so. You can get the installer from the NetBeans 6.1 download page.
  2. Get the sources: you can use the NetBeans GUI or simply your system command line to get the Facelets Support sources.

    • By NetBeans GUI: Invoke the CVS Checkout dialog by menu Versioning -> CVS -> Checkout..., fill the CVS Root ( and Password, and click on Next.

      In the next dialog, use 'nbfaceletssupport' as the Module name and enter your planned working directory as the Local Folder, and click on Finish.

      After the IDE finished the checkout, it asks whether to open the projects or not, click on Open Project... (see next step)
    • By Command Prompt: Alternately you can checkout the CVS sources by just few command lines if you prefer.
      cvs -d login
      cvs -d checkout nbfaceletssupport
  3. Open the Facelets projects: Under NetBeans IDE, use menu File -> Open Projects... to invoke the Open Project dialog, select the Facelets projects and then click on Open Project.
  4. Build the NBMs: Under the Projects panel, right click on the Facelets Suite node and select the Create NBMs context menu to build all needed plugin NBMs.

    Now you have done the build and all 4 NBMs can be found under the following directory that you may want to copy to somewhere for your later use:
    If you do want to skip the 'build from sources' steps, you may just download these NBMs ( that I have done.

Install the Facelets Support NBMs

The next step is to install the Facelets NBMs that we have just created into the IDE. You can invoke the Plugins dialog by menu Tools -> Plugins, select the Downloaded tab and click on Add Plugins... to open these 4 NBMs.

Then click on Install, follow few Next/Continue/Finish clicking and accept the license agreements, finally your IDE is ready for the Facelets Support, on the latest released NetBeans 6.1!

Uninstall the Facelets Support

In case you need to uninstall the Facelets Support for any reason, use the menu Tools -> Plugins to get the dialog, select the Installed tab and choose 'Facelets Support', 'Simple JSF/Facelets Snippets', and 'Facelets Library 1.1.14', then click on Uninstall to uninstall the support.


Hi Po-Ting,

Thank you very much for this post and the facelets support in Netbeans 6.1. I really appreciate it. I followed your instructions and it works ...

Posted by Cyrill on May 09, 2008 at 06:12 AM PDT #

Hi Poting,

Great work.


Posted by Earguay@Anfield on May 12, 2008 at 04:40 PM PDT #

Muchas gracias por tu contribucion!!
desde España.

Posted by hore on May 14, 2008 at 08:51 PM PDT #

I've followed your guide in this blog's entry but the errors always occur like these for 2/4 pluggins (org-netbeans-modules-web-frameworks-facelets.nbm and org-netbeans-modules-web-jsf-simplesnippets.nbm). 2 remained pluggins were successfully installed:
- Missing required modules for Plugin Simple JSF/Facelets Snippets:
JSP Editor [module org.netbeans.modules.web.core.syntax/1 > 1.23.29]
-Missing required modules for Plugin Facelets Support:
JSP Editor [module org.netbeans.modules.web.core.syntax/1 > 1.23.29] JSP Parser [module org.netbeans.modules.web.jspparser/2 > 2.6.21]
Missing required modules for Plugin Simple JSF/Facelets Snippets:
JSP Editor [module org.netbeans.modules.web.core.syntax/1 > 1.23.29]

So I can not install the facelets

Could you

Posted by latuan on May 15, 2008 at 11:43 AM PDT #

Could you help me to correct these errors please!
Thanks for your answer!

Posted by latuan on May 15, 2008 at 11:44 AM PDT #

I met error same you, I think this is NetBean6.1's problem. I removed NetBean6.1 then install NetBean6.0.1 its ok.

Posted by PHANSIPAN on May 18, 2008 at 01:30 PM PDT #

I've followed instructions similar to the ones here and it all worked fine on my 6.1 NB.
I also installed the seam support from the nbseamsuite package.
For an alternative set of instructions, check out

Posted by Jeff Rubinoff on May 27, 2008 at 02:29 AM PDT #

> JSP Editor [module org.netbeans.modules.web.core.syntax/1 > 1.23.29

I believe you do not have the latest source! Please 'cvs update' your workspace. The latest source shows the dependency is 'release-version = 2'.

Posted by potingwu on June 04, 2008 at 03:36 AM PDT #

I have also run into a similar problem using the zipped 6.1 \*.nbm(s) available here and on the main project site.

When I try to install the basic facelts support plugin I get:

Missing required dependency for Plugin Facelets Support:
JSP Parser [module org.netbeans.modules.web.jspparser/3 = 200804211638]

However, that module is installed and working.

This error occurs for me in both netbeans 6.1 released version and 6.1 daily developer's version as of 06/11/08.

O.S. = windows vista

anyone know how to fix this?

Posted by Klinton on June 11, 2008 at 06:11 PM PDT #

I have the same problem on OSX with last daily build of netbeans. It's funny that even on June 4 2008 they gave new links to download the plugins which don't work on latest netbeans:

Posted by Andrew Skiba on June 15, 2008 at 12:07 AM PDT #

I have netbeans 6.1 installed and updated, but i still have error:
Missing required modules for Plugin Facelets Support:
JSP Parser [module org.netbeans.modules.web.jspparser/3 = 200805300101]

Almost 2 weeks passed since last post. Did anyone resolved the problem, please let me know.

Posted by someone on June 26, 2008 at 10:01 PM PDT #

Hi every one. I installed it on netbeans 6.1. I faced the same problem. And I removed all facelets libraries and reinstall it. Now it works.

Posted by chamika on July 04, 2008 at 04:06 AM PDT #

Hi Someone,
I just ran into the JSP Parser issue.
I uninstalled my NB 6.1. Downloaded latest netbeans-6.1-ml-javaee. Avoided updating before installing facelets support ( I noticed that the Update included a new jspparser module).
Everything worked ok doing it that way

Posted by Bob Treacy on July 09, 2008 at 03:57 AM PDT #

I updated plugins after installing facelets support. A couple things could not update. The following plugin updates seem to be incompatible with the facelets support plugin --

IDE Platform 1.3.2
Platform 1.1.1
Visual JSF 1.1.2

Posted by Bob Treacy on July 09, 2008 at 04:05 AM PDT #

solution for jspparser problem.
go to your netbeans6/enterprise5/modules directory. Find org-netbeans-modules-web-jspparser.jar . Unpack and edit the META-INF/MANIFEST.MF file so that
matches what your facelets is complaining about. save, reassemble jar, then start ide and install works fine. May need to change back after install :)

Posted by Ati Rosselet on July 09, 2008 at 06:35 AM PDT #

That did the trick for me Ati, thanks much.

Posted by Sean Connolly on July 21, 2008 at 08:30 AM PDT #

Spoke too soon, Netbeans IDE checks the modules at start up and throws an error if the wrong version of the jspparser module is being used.

While your fix does allow one to install the Facelets modules, you cannot revert to the original jspparser module afterwards.. not sure if this is really a problem yet. Just a heads up.

Posted by Sean Connolly on July 21, 2008 at 08:39 AM PDT #

Many people have asked for help as far as the jsp parser issue is concerned. Please provide a reliable fix. Many of us a stuck.

Posted by Julien on July 24, 2008 at 05:37 AM PDT #

When i try to compile i get the error:

"C:\\java\\netbeans\\harness build.xml:97: Cannot compile against a module: C:\\java\\netbeans\\java2\\modules\\org-netbeans-api-java.jar because of dependency: > 1.18"

do you have idea?

Posted by maxwell on July 30, 2008 at 12:40 AM PDT #

I have the same compile time issue: Cannot compile against a module: <path>\\org-netbeans-api-java.jar because of dependency: > 1.18"

My NetBeans 6.1, fully updated has version 1.16 of, so that's why it fails, but, the question here is... How can they compile? Are they using Netbeans 6.5?

Posted by Agusti on July 30, 2008 at 07:37 PM PDT #

Hi guys,

About the error message:
"Missing required modules for Plugin Facelets Support:
JSP Parser [module org.netbeans.modules.web.jspparser/3 = 200804211638]"

I had (and also many people, too) the same problem when trying to install Facelets plugin into Netbeans 6.1. After many think, trying and search, I found the solution here:

I patched the Facelets module (only good to Netbeans FCS, no ML) and if you want download it, it's here:

More information can be found at:

Marcio Wesley Borges

Posted by Marcio Wesley Borges on July 31, 2008 at 11:41 PM PDT #

Thank you Marcio, its work for me now

Posted by maxwell on August 01, 2008 at 10:56 AM PDT #

I tried the build provided by Marcio, but I always get this error:

java.lang.NoClassDefFoundError: org/netbeans/modules/web/jsps/parserapi/JspParserAPI$ParseResult

It is generated when the plugin try to resolve tags inside namespaces. Any ideas?


Posted by Danilo on August 06, 2008 at 07:52 PM PDT #

Hello Danilo,

The error that you relate is true with Netbeans 6.1 and update pack 2 or pack 3. The patched Facelets plugin install, but when trying to invoke some kind of code completion/insigth, it fails. Netbeans 6.1 without update pack 2, works fine.
Also, I test it with Netbeans 6.5m1 and it's working fine, again.

Marcio Wesley Borges

Posted by Marcio Wesley Borges on August 07, 2008 at 12:31 AM PDT #

I'm having the same issue as Danilo. Any idea of a fix?

Posted by Ryan on September 16, 2008 at 04:06 AM PDT #


Posted by guest on October 05, 2008 at 07:45 PM PDT #

I have netbeans 6.5 but couldnt install facelets due to JSP parser error.

Posted by Chitra on November 18, 2008 at 05:09 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed



Top Tags
« July 2016