Can't rename classes in newly created maven project #3526
Labels
Java
[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
kind:bug
Bug report or fix
Maven
[ci] enable "build tools" tests
priority:high
High priority issue that should, if possible, be fixed in next release
Milestone
Apache NetBeans version
Latest release candidate
What happened
see title, log:
How to reproduce
rename dialog with "please wait..." appears, exception in log.
Did this work correctly in an earlier version?
Operating System
linux
JDK
17.0.2
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
java.lang.IllegalArgumentException: file:/tmp/mavenproject1/src/test/java is not a valid classpath entry; it must end with a slash.
Indicates that it is adding the test folder to the cp, but there is no test folder in the new project template.
creating empty
./src/test/java
fixes it.reproducible in 13rc2
Are you willing to submit a pull request?
Code of Conduct
The text was updated successfully, but these errors were encountered: