My question is, how do I set up IntelliJ to work with JSF and Facelets?
I downloaded the current facelets binaries, version 1.0.14. Then I created a web module without specifying any sort of support for JSF. The facelets distrubution came with jsf jars and a host of others, so I created a project library called Facelet Jars and included everything in the lib folder of the facelets distribution, minus the jsp-api which Tomcat already has.
By the way, I'm using Tomcat 5.5.
Using the tutorial included with facelets, I set up the numberguess, which defines a template and has a couple of jsp pages, a managed bean and a few other odds and ends.
When I run it, I see this: INFO: FacesELResolvers not registered with Jsp. And then there is an exception, a NullPointerException that looks like this:
WARNING: phase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@e7eec9) threw exception: java.lang.NullPointerException null
It goes on of course.
My question is really more than one question potentially. How do I set up IntelliJ to work with Tomcat 5.5 and Facelets? I've run through several JSF and Facelet tutorials, but always there is a stumbling block that kills the process. Googling helps to get me through some things, but I can't find much on how to make it work in IntelliJ. I'm being pushed towards NetBeans or some such, but I'm here in IntelliJ to stay.
By the way, I have the most recent IntelliJ to date: 6.05 build 6180.
Any help would be greatly appreciated!