NetBeans error: package org does not exist

2

I'm developing a desktop application using netbeans. I spent a few months without touching the project, and when I open it I get the message that the org package does not exist. I already deleted the Netbeans Cache folder, I updated it, updated the java and nothing. Can anyone help me?

After restarting the IDE, the problem continues. The interesting thing is that the error is only in the main class, in the other classes there is no error. Do I need to redo this whole class of 0 using relative layout?

    
asked by anonymous 07.05.2016 / 02:17

1 answer

2

Check if in the classpath of your project, there is the AbsoluteLayout lib, it is added automatically every time you create a java project in netbeans (at least up to jdk 7).

Expand your project and right-click the Libraries folder. Then click the Add Library option,

andselectAbsoluteLayoutfromthelist.

Afterthis,libshouldlooklikethisinyourproject:

    
07.05.2016 / 03:45