This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
A JAR file put into lib/ of a Grails project is not found. The editor complains about "unable to resolve class". Example: put groovyws-all-0.3.1.jar into lib/ and import groovyx.net.ws.WSClient in a Groovy file. The error tooltip says "unable to resolve class groovyx.net.ws.WSClient".
Created attachment 67685 [details] JAR import error for Grails project
I have the same issue using the latest nightly build. After placing a JAR in the lib directory, I'm getting an "unable to resolve class" errors on imports of classes from the JAR. Closing and reopening the project doesn't help, restarting the whole IDE does. Product Version: NetBeans IDE Dev (Build 200809100201) Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23 System: Linux version 2.6.25.4-rt4 running on i386; UTF-8; sk_SK (nb)
*** Issue 151758 has been marked as a duplicate of this issue. ***
Thanks for the report. What is the way how you put the jar to lib folder? Is it 100% reproducible? I cant reproduce it with current trunk build as mentioned in issue 151758.
I have recently tested this issue on RC2, rather than a nightly build, and the issue appears to be resolved. I cannot reproduce the issue. Thank you for the hard work! Have a good one.
Netbeans 6.5 final still has this issue. Adding lucene-2.4.0.jar to /lib, and org.apache.lucene.* libraries are not resolved (even on Java source code). Will this be fixed only on 7.0 ?
This should be fixed for 7.0. Perhaps problems with library updates outside of the IDE. Main a4d342c0f9bb.
Integrated into 'main-golden', will be available in build *200902040232* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a4d342c0f9bb User: phejl@netbeans.org Log: #144243 JARs in lib/ of a Grails project is not found