Replies: 1 comment
-
Test with a clean userdir ( As this is not a general problem, I'll turn this into a discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Apache NetBeans version
Apache NetBeans 24
What happened
After opening a java maven project , netbeans shows no more source folder and behaves oddly
Here is the message shown
Log file does not provide any clue.
The only thing i see is
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: ...
whereas the folders belong to projects with existing dependencies
Besides when I creat e a new java project, here is what it looks
src folder is shown but twice!!
This happens randomly, and not always. But when it happens, i find no way to get it working properly but to delete completly netbeans cache and config folders.
Deleting only cache does not change anything. But i noticed that deleting Modules folder under config does!
this is the best workaround i can find for now.
Language / Project Type / NetBeans Component
Java Maven Project with modules
How to reproduce
I cannot tell exactly how it reproduces as it is random and
Randomly it shows the following...
This worked properly before nb22, on my machine, I was hoping it to be fixed but it didnt in 23 neither 24.
Did this work correctly in an earlier version?
Apache NetBeans 21
Operating System
Linux version 6.11.8-1-default running on amd64; UTF-8; en_US (nb)
JDK
21.0.5; OpenJDK 64-Bit Server VM 21.0.5+11-suse-1.1-x8664
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
It is not systematic, but once it happens, there is no way to fix it, i always try to delete config and cache folder.
Are you willing to submit a pull request?
No
Beta Was this translation helpful? Give feedback.
All reactions