NetBeans – junit_4 missing library

A quick blog post to record the fix to this.

This issue effectively came out of nowhere. I headed off to lunch, and then came back and updated my local working copy of the code with SVN. Then all my projects in NetBeans (v6.8) turned red. Right clicking on them gave me the option to ‘Resolve dependency issues…’.

The next dialog told me that the library ‘junit_4’ was missing and needed to be added.

After much searching around, including advice to uninstall my NetBeans, I decided just to create a new library ‘junit_4’, and leave it empty. Lo and behold it worked.

Not sure if this is the correct fix or not, but all my projects have returned to that nice black colour again!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s