180onwarding
![](images/star2.gif) ![](images/star1.gif) ![](images/star1.gif) ![](images/star1.gif)
发贴: 19
|
于 2006-05-10 11:03
![user profile](images_zh_CN/icons/icon_profile.gif) ![send a private message to user](images_zh_CN/icons/icon_pm.gif) ![reply to post](images_zh_CN/icons/icon_quote.gif) ![search all posts by](images_zh_CN/icons/icon_find.gif) ![select and copy to clipboard.
ie only, sorry for netscape users:-)](images_zh_CN/icons/icon_copy.gif)
我的环境变量如下 CATALINA_BASE C:\Program Files\Apache Group:\Tomcat4.1 CATALINA_HOME C:\Program Files\Apache Group:\Tomcat4.1 CLASSPATH .;%JAVA_HOME%lib\dt.jar;%JAVA_HOME%lib\tools.jar;%CATALINA_HOME%\common\lib\servlet.jar Path %JAVA_HOME%\bin;D:\Oracle\Ora81\bin;d:\program files\Sybase\Adaptive Server Anywhere 6.0\win32;C:\Program Files\Common Files\Ulead Systems\MPEG;D:\PROGRA~1\SecureFX;d:\Program Files\SecureCRT\;C:\WINNT;C:\WINNT\system32;%path%;C:\Program Files\Java\j2re1.4.2_11\bin JAVA_HOME C:\j2sdk1.4.2_11 使用EditPlus编辑器.我的.java文件放在d:\jsplx\WEB-INF\classes\MyPackage\ShowParameters.java 在cmd下的MyPackage目录下使用javac ShowParameters.java 出现的六处错误都是下面的提示: ShowParameters.java:5: package javax.servlet.http does not exist import javax.servlet.http.*; ^ ShowParameters.java:7: cannot resolve symbol symbol:class HttpServlet location:class MyPackage.ShowParameters public class ShowParameters extends HttpServlet{ ^ ShowParameters.java:10:cannot resolve symbol symbol:class HttpServletRequest location:class MyPackage.ShowParameters public void do Get<HttpServletRequest request, ^..........
} 请大家帮忙看一下哪里的问题,谢谢大家了!!!!!
|