Re: Can't initialize javac processor due to (most likely) a class loader problem: java.lang.NoClassDefFoundError
Maciej Jaros <[email protected]>
| Newsgroups | gmane.comp.java.ide.netbeans.user |
|---|---|
| Organization | MOL sp. z o.o. |
| Message-ID | <[email protected]> |
> in short: lombok as of right now does not support javac 24 yet and the editor support of NB 25 integrates with nb-javac based on JDK 24. Is this correct? I'm seeing that JDK24 is not released yet https://jdk.java.net/24/ So NB25 is not stable at all? Ernie Rael (2025-03-09 02:05): > This is a lombok issue. > > See https://lists.apache.org/thread/98vzl3jwb1tp0cgm8sgknc5tlvjxn3rw > > -ernie > > On 25/03/08 12:50 PM, Rick wrote: >> Hi, >> >> After the Netbeans 25 has been installed, I got an error message >> popped up on my source code editor. >> >> Can't initialize javac processor due to (most likely) a class loader >> problem: java.lang.NoClassDefFoundError >> >> Netbeans 25 + Amazon Corretto JDK23 + Win10 >> My source code was working on Netbeans 22 + Amazon Corretto JDK21 before. >> My source code uses Lombok libs. If I remove the Lombok from the list >> of dependencies, my source code will be fine. >> Some posts online say this issue is caused by a missing lib >> tools.jar. However, I cannot find this jar anywhere. >> >> -- >> >> Sincerely, >> >> *Rick Qin* >> Mobile: +1 (905) 328 7829 >> Email: [email protected] > >