I have a problem with my code, even though it hasn't been modified in any way. It just suddenly threw this message. As you can see on the left, that they are all in the correct package, and have correct names.
What can I do to fix this problem?
Click “Tools” in the menu bar and select “Plugins“. Then go to “Available Plugins” tab and sort on Name column and search for “Java EE Base“. Select the checkbox. Click “Install” button and finish the installation.
Running the Application Make sure to save the Java source file, right-click the project and choose Run or choose Run Project under the Run menu. Click Select Main Class. In the Output window (which can be opened from the Window menu), you should see the below.
Apache Netbeans 12.2 Supports Java 14 and 15.
Clear the cache to fix it. In Windows, cache is located at:
C:\Users\username\AppData\Local\NetBeans\...
On Linux, cache is at:
/home/username/.cache/netbeans/...
After clearing the cache restart netbeans.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With