29
Apr/11
0

Spring / Netbeans – a missing context.xml file

So I’ve upgraded to Netbeans 7 recently, and had an issue that comes up when creating a new Spring MVC Web Application. That is, when I run the Tomcat application an error message appears – context.xml (The system cannot find the file specified).

Looking around on the internet it seems this may have been around for a while, so I was mystified as to why I hadn’t come across it before. However it seems like the kind of bug which stops occuring when I create my new Spring Web Application with another project already open in the Project Group. Don’t ask me why, and this may change in the future – but if you’re stuck on this it may be worth a try.

Tagged as:
4
Apr/10
1

Netbeans Editor Code Folds

Some times its handy to be able to hide sections of code in the Netbeans editor window.

// <editor-fold desc="This section of the code deals with the item.">
 Your code goes here...
// </editor-fold>

These are just the basics. More information is available from the Netbeans page.

3
Aug/09
0

VisualWeb JSF being discontinued

One of the primary reasons for starting this blog was to log any nifty tricks I learnt whilst using Netbeans and VisualWeb JSF. However this has now been converted to a non-essential Sun item. I was also planning to document IceFACES, an AJAX support framework, which no longer supports a Visual developer setup with Netbeans 6.7 due to the removal of the ‘Woodstock’ components for the core IDE. Being new with IceFACES from within a text editor looses the productivity gains it should provide.

As I have some projects looming up and have to think about maintenance down the line, I have decided to make the switch to Eclipse – specifically I am using the MyEclipse platform. Its not free as in beer, but comes with lots of neat addons tied in with it, so I am putting this through its paces.