Announcement
Collapse
No announcement yet.
Build failed because of missing symbols
Collapse
X
-
Guest repliedchanged the wiki, too.
-
Guest repliedProblem fixed !
Great, that fixed my problem. Compilation ends successfuly. I had to go foward in the install process to check it now.
thank's for the help.
Leave a comment:
-
Guest repliedok got your problem. the solution:
go here:
go to:
-> SPECIFICATIONS
-> Java Servlet
-> 2.3 - Final Release
download:
-> Download class files 2.3 Zip Format
after download rename the zip file to jsdk.jar and move it into the lib dir and try to compile again. maybe you have to do a ant clean first.
Leave a comment:
-
Guest repliedI modified the build.xml and renamed jsdk.jar to servlet.jar
I also use netbeans to browse through the code, which additionally highlights all my discrepancies and netbeans confirms all these build-errors.
Leave a comment:
-
Guest repliedOriginally posted by admin View Posthave you changed the file name of the jsdk in the build.xml or have you renamed the file so that it fits with the call in the build.xml?
Leave a comment:
-
have you changed the file name of the jsdk in the build.xml or have you renamed the file so that it fits with the call in the build.xml?
Leave a comment:
-
Guest repliedTried all different servlet.jar's and always got this errors.
If i use the jsdk.jar from jsdk20-solaris2-sparc.tar.Z i got even more error messages.
Leave a comment:
-
Guest repliedBad servlet.jar version ? => unable to compile
Hello,
I did download the archive version of the servlet library. There's a Windows version and a Solaris one. I picked up the solaris one. Then I decompress the tar.Z file and get the servlet.jar contained.
I change the build.xml of open xchange to use that jar file but I had the same problem :
[javac] /home/pacherie/Dvp_v3/Projects/open-xchange/src/com/openexchange/ajax/AJAXServlet.java:563: cannot find symbol
[javac] symbol : method getContextPath()
[javac] location: interface javax.servlet.http.HttpServletRequest
[javac] final String path = req.getContextPath() + req.getServletPath();
Plus additionals errors for the methods getParameterMap() and so on.
I suspect that Open XChange do not relies on the version of the servlet that is available on Sun web site.
Any ideas ?
Leave a comment:
-
Guest repliedOriginally posted by neo View PostHum, I think you made a little mistake in downloading the specification archive.
Scroll down on that page http://java.sun.com/products/servlet/archive.html and there you find the "Specification archive".
greets
Andreas
Leave a comment:
-
Guest repliedHum, I think you made a little mistake in downloading the specification archive.
Scroll down on that page http://java.sun.com/products/servlet/archive.html and there you find the "Specification archive".
greets
Andreas
Leave a comment:
-
Guest repliedI'm getting the same errors, I renamed it to jsdk.jar to no avail. The servlet.jar does containt all the classes it asks for as far as I can see.
Anyone have any ideas?
Leave a comment:
-
Build failed because of missing symbols
If i try to build open-xchange i got errors about missing symbols
src/com/openexchange/ajax/AJAXServlet.java:562: cannot find symbol
symbol : method getContextPath()
src/com/openexchange/ajax/ImportExport.java:122: cannot find symbol
symbol : method getParameterMap()
src/com/openexchange/ajax/ImportExport.java:162: cannot find symbol
symbol : method getParameterMap()
src/com/openexchange/tools/ajp13/TestServlet.java:92: cannot find symbol
symbol : method getHeaders(java.lang.String)
src/com/openexchange/webdav/action/WebdavGetAction.java:203: cannot find symbol
symbol : variable SC_REQUESTED_RANGE_NOT_SATISFIABLE
What's wrong with my servlet.jar?
It's not clear to me, which Java Servlet Lib i have to use. Currently I'm using servlet.jar out of jsdk2_1-solsparc.tar.ZLast edited by Guest; 03-02-2007, 01:33 PM.Tags: None
Leave a comment: