I recently decided to try the NetBeans 4.1 IDE. While working through the Tutorial for Web Applications, which uses "Midnight Cookies" source files, I had problems with the main.jsp and Input.jsp files. After editing them I got "unable to load tag handler class" … "midnight links" errors. I searched in hopes of finding a solution. One page came up in the results, a Sun Developer Network page. It had 3 posts – dated 2006, 2007, and 2008, but no solution.
I followed the tutorial's instructions. Under "Creating a web project from the provided source files", number 6 states
Notice that the $PROJECTHOME/Midnight/WEB-INF/classes folder is automatically selected as your sources folder. Click Finish. You are prompted to let the IDE delete your class files, because they will automatically be compiled to your project's build folder when you build the project. Click Delete to let the IDE do this.
The IDE imports your sources, deletes the class files, and creates the Midnight project in the IDE. …
If you look in the IDE's Project window and go to the WEB-INF -> classes -> com -> midnightcookies -> taghandlers node and expand it, notice that the BundleHelper.java, ButtonHandler.java, ContentHandler.java, and LinkHandler.java files have a little red badge icon next to them. From the IDE Help, the description is
The file needs to be compiled. Either the file has not been compiled or the source has changed since the last compilation.
Right click -> Compile them and the errors for main.jsp and Input.jsp go away
![[PDA - Heathcare NOT Warfare - Sign the Petition.]](http://www.mittineague.com/blog/tmp/HealthNotWar_final.jpg)





