项目导入错误
发表在JavaWeb图书答疑 2009-03-26
是否精华
版块置顶:
      老师:
           您好!
           我将《JSP项目开发全程实录》第六章中办公自动化管理系统项目导入MyEclipse中,在tomcat浏览器中运行时出现以下问题,我重新安装windows server 2003、TOMCAT、JDK、ECLIPSE、MYECLISE,问题依旧,导入书中其它项目入MyEclipse中再运行问题仍旧如此,但按你们书中视频所讲运行毫无问题,另外在default.jsp调用top.jsp时MyEclipse报错“
Description Resource Path Location Type
UserForm cannot be resolved to a type default.jsp test/WebRoot/WEB-INF line 13 JSP Problem
UserForm cannot be resolved to a type default.jsp test/WebRoot/WEB-INF line 13 JSP Problem
UserForm cannot be resolved to a type default.jsp test/WebRoot/WEB-INF line 13 JSP Problem
”,”, 在MyEclipse浏览index.jsp等网页操作界面时出现提示信息"您登录的网页已经过期,请重新登录",
我现将我电脑上有关信息列举如此,请贵公司高手尽快帮我好好分析一下此问题,谢谢!!!

附注:
     1.仅变更项目名称。
     2.项目导入Eclipse中正确,同时已将贵公司技术支持栏下载的src文件夹下的全部内容拷贝到新建项目的src下,并且已经刷新该项目,如果是您可以单击主菜单元中的“项目”/“清理”菜单项,清理此项目。
     3.系统配置文件无错误。
     4.windows 2003 server已更新最新补丁。
     5.SQL SERVER 2000已安装sp4,数据库连接正确。



HTTP Status 404 - /eip/

--------------------------------------------------------------------------------

type Status report

message /eip/

description The requested resource (/eip/) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.18












jdk安装版本:java_ee_sdk-5_06-windows-ml.exe jdk-6u10-nb-6_5-windows-ml.exe
jdk安装路径:C:\Program Files\Java\jdk1.6.0_12 C:\Program Files\Java\jre6
tomcat安装版本:apache-tomcat-6.0.18
tomcat安装路径:C:\Tomcat 6.0
eclipse解压版本:eclipse-SDK-3.4.1-win32.zip
eclipse解压路径:C:\eclipse
myeclipse安装版本:MyEclipseEnterpriseWorkbenchInstaller_5.1.0GA_E3.2.1
myeclipse安装路径:C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA(或myeclipse-7.0-win32.exe)
myeclipse工作区间:C:\Tomcat 6.0\webapps

环境变量:
JAVA_HOME: C:\Program Files\Java\jdk1.6.0_12
CLASS_PATH: .;%JAVA_HOME%\lib\tools.jar
Path: %JAVA_HOME%\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN

server.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<filter>
<filter-name>myfilter</filter-name>
<filter-class>com.struts.filter.MyFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>myfilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>3</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>3</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>

<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>

分享到:
精彩评论 11
无语_mrkj
学分:3155 LV11
2009-04-08
11L
出现Address already in use: JVM_Bind:8080错误信息,则表示启动Tomcat所需的8080端口已经被占用,请将已经启动的外置Tomcat停止后,再通过MyEclipse启动。
首页上一页 12 下一页尾页 11 条记录 2/2页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照