- This topic has 2 replies, 2 voices, and was last updated 19 years, 9 months ago by Roel De Nijs.
-
AuthorPosts
-
Roel De NijsMemberWhen i want to generate javadocs of my package, i get these errors/warnings
C:\eclipse\workspace\AquaGis4Web\src\be\aquafin\webgis\algemeen\Login.java:9: package javax.servlet does not exist
import javax.servlet.ServletException;
^
C:\eclipse\workspace\AquaGis4Web\src\be\aquafin\webgis\algemeen\Login.java:10: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
^
C:\eclipse\workspace\AquaGis4Web\src\be\aquafin\webgis\algemeen\Login.java:11: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletResponse;
^
C:\eclipse\workspace\AquaGis4Web\src\be\aquafin\webgis\algemeen\Login.java:12: package javax.servlet.http does not exist
import javax.servlet.http.HttpSession;
^
C:\eclipse\workspace\AquaGis4Web\src\be\aquafin\webgis\algemeen\Login.java:67: cannot resolve symbol
symbol : class HttpServletRequest
location: class be.aquafin.webgis.algemeen.Login
public boolean heeftGebruikerToegang(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
^
C:\eclipse\workspace\AquaGis4Web\src\be\aquafin\webgis\algemeen\Login.java:67: cannot resolve symbol
symbol : class HttpServletResponse
location: class be.aquafin.webgis.algemeen.Login
public boolean heeftGebruikerToegang(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
^
C:\eclipse\workspace\AquaGis4Web\src\be\aquafin\webgis\algemeen\Login.java:67: cannot resolve symbol
symbol : class ServletException
location: class be.aquafin.webgis.algemeen.Login
public boolean heeftGebruikerToegang(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
^I guess i have to indicate somewhere where the documentation of these classes can be found, because they are standard java classes. but i have no idea where
can you help me with this one
thanks!
Riyad KallaMemberMoving to OT > Soft Dev, this is a classpath issue with your javadoc ant task, you need to add servlet-api.jar and maybe jsp-api.jar to your classpath so Javadoc can resolve the classes.
Roel De NijsMemberi added them to my project build path and now it’s working fine
thanks!
-
AuthorPosts