I'm developing a website, where one project contains the Java source, other projects contain the JSP files. The JSP
freeform has no source folders. I set up Tomcat libraries in Web Sources Classpath, however the editor says it can not
find java.lang. It used to be working in 5.5.1.
Created attachment 53155 [details]
Sample freeform project that works in 5.5.1 but not in 6.0
Tomasi I think you are more competent to evaluate this issue, it is apparently a classpath problem
An easy workaround for this issue is to add some "dummy" folder as your Java Source (just create an empty folder and
add it to Java Sources using Project Properties). I'll write more information (and file some more issues) tomorrow.
Thanks for reporting.
This issue is fixed, but it's not the most correct fix - if no java source roots are available then the currently
active platform is returned. Workaround form the previous comment still works of course.
I filed two enhancements, see issue #122368 and issue #122369.
Checking in web/freeform/nbproject/project.xml;
/cvs/web/freeform/nbproject/project.xml,v <-- project.xml
new revision: 1.24; previous revision: 1.23
Checking in web/freeform/src/org/netbeans/modules/web/freeform/WebModules.java;
/cvs/web/freeform/src/org/netbeans/modules/web/freeform/WebModules.java,v <-- WebModules.java
new revision: 1.23; previous revision: 1.22
Should this issue be fixed in a patch for the update center? It was mentioned in the NB 6.0 NetCat acceptance feedback:
Reporter, can you please verify the fix in the latest NB build from trunk? The zip is available here
http://deadlock.netbeans.org/hudson/job/trunk/4630/artifact/nbbuild/dist/zip/ thanks for your help
Since the issue isn't still verified the fix will be in patch2.
classpath seems to be ok - items from libraries are invoked in code completion and no error are highlighted....
NetBeans IDE Dev (Build 200801310006)
unfortunately jsp editing is influenced by #126401 in actual build - please take a look at this issue while porting fix
The fix has been ported into the release601_fixes branch.
Checking in src/org/netbeans/modules/web/freeform/WebModules.java;
/cvs/web/freeform/src/org/netbeans/modules/web/freeform/Attic/WebModules.java,v <-- WebModules.java
new revision: 220.127.116.11; previous revision: 1.21
Checking in nbproject/project.xml;
/cvs/web/freeform/nbproject/Attic/project.xml,v <-- project.xml
new revision: 18.104.22.168; previous revision: 1.23