Sagewire Logo

Spurious compiler errors for JAVAx.servlet

2 Message(s) by 2 Author(s) originally posted in netbeans ide java


From: Alex Lam S.L. Date:   Wednesday, December 19, 2007
I have created a web project with existing source s (through a
ClearCase mounted volume) which is set up to use Tomcat 5.5.25

The project builds and deploys properly. However, I keep getting
compiler errors within the editor windows claiming that all the
JAVAx.servlet classes and classpaths are missing.

Regards,
Alex.


From: Karthik Date:   Friday, December 28, 2007
From a thread on users@xxxxxxxxxxx alias:
http://cnd.netbeans.org/servlets/ReadMsg?list=users&msgNo=723

From: Graham, Dennis
...Well, as it turns out, there were two contributing factors that
were not immediately obvious to me.
1. From the Project Properties>JAVA Sources, I defined multiple
source directories. Well, this was obvious to me.
2. From the Project Properties>JAVA Sources Classpath, I did not
realize that the "Separate Classpath for Each Source Package Folder" was
checked (by default?). As such, I had only declared jars/folders for a
test package/folder *sigh*.
Unchecking the "Separate Classpath" option solved the problem...

regards,
karthik

wrote in message:
I have created a web project with existing sources (through a
ClearCase mounted volume) which is set up to use Tomcat 5.5.25
The project builds and deploys properly. However, I keep getting
compiler errors within the editor windows claiming that all the
JAVAx.servlet classes and classpaths are missing.
Regards,
Alex.






Next Message: RFE: project groups' (like JAVA EE Applications) separation shouldbe indicated visually a bit more



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional