Problem:
I’m facing an issue with iReport designer in NetBeans IDE 20. I’m using JDK 21 and have installed iReport plugins 1.0. When attempting to compile a new, empty .jrxml report file using Java in iReport, I encounter the error: “The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files”. its compile and work for me with groovy language but I want it with java language.
Environment:
NetBeans IDE 20
JDK 21
iReport plugins 1.0
What could be causing this error, even with an empty report file? Are there any known compatibility issues or configuration problems that might be causing this? I’ve already tried checking the classpath, cleaning and rebuilding the project, but the issue persists. Any guidance on resolving this would be greatly appreciated.