三套JSP源代码的安装部署过程和遇到的问题图解

三个源码下载自源码之家;

Maven和3个源码也可在此下载;

http://pan.baidu.com/s/1qYnK784


一 jspxcms

其源码说明如下;

# Jspxcms源码搭建说明_maven版

本源码包采用maven结构,和普通eclipse的web项目结构不一样,且不包含lib目录下的第三方jar包。

## 环境要求

- JDK1.6或更高版本(支持JDK7、JDK8)。
- Servlet2.5或更高版本(如Tomcat6或更高版本)。
- MySQL5.0或更高版本。
- Maven3.0或更高版本。

## 搭建步骤

1. 创建数据库,数据库字符集选择为utf8或者utf8mb4(支持更多特殊字符,推荐)。
2. 执行数据库脚本。数据库脚本在database目录下,按先后顺序分别执行1_table_sql.txt、2_data_sql.txt、3_reference_sql.txt。
3. 在eclipse中导入maven项目。点击eclipse菜单File - Import,选择Maven - Existing Maven Projects。创建好maven项目后,会开始从maven服务器下载第三方jar包(如spring等),需要一定时间,请耐心等待。
4. 修改数据库连接。打开/src/main/resources/custom.propertis文件,根据实际情况修改jdbc.url、jdbc.username、jdbc.password的值。
5. 运行程序。在eclipse中,右键点击项目名,选择Run as - Maven build...,Goals填入tomcat6:run,然后点击Run。
6. 访问系统。前台地址:http://localhost:8080/,手机站地址:http://127.0.0.1:8080/;后台地址:http://localhost:8080/cmscp/index.do,用户名:admin,密码:空。

首先安装Maven;一个不错的Maven教程在http://www.yiibai.com/maven/
我的电脑上装好之后测试如下;Maven安装成功;

三套JSP源代码的安装部署过程和遇到的问题图解_第1张图片


在mysql中创建数据库;

三套JSP源代码的安装部署过程和遇到的问题图解_第2张图片


运行提供的sql脚本;

三套JSP源代码的安装部署过程和遇到的问题图解_第3张图片


三套JSP源代码的安装部署过程和遇到的问题图解_第4张图片

成功,建立了数据库;


启动Eclipse;谁知出现下图;

三套JSP源代码的安装部署过程和遇到的问题图解_第5张图片


JDK是安装配置好的;不知啥情况;先在eclipse.ini中添加如下两行;

-vm
C:\Program Files (x86)\Java\jre1.8.0_77\bin\javaw.exe

再启动;好了;


导入Maven项目;

三套JSP源代码的安装部署过程和遇到的问题图解_第6张图片


三套JSP源代码的安装部署过程和遇到的问题图解_第7张图片


根据说明,将自动从Maven服务器下载第三方jar包;如下;




等待时间比较长;


下载完成;项目建立;但是有很多错误;如下图;

三套JSP源代码的安装部署过程和遇到的问题图解_第8张图片


先看Maven相关的错误;

Description Resource Path Location Type
Project build error: 'dependencyManagement.dependencies.dependency.systemPath' for jdk.tools:jdk.tools:jar must specify an absolute path but is ${JAVA_HOME}/lib/tools.jar pom.xml /jspxcms line 756 Maven pom Loading Problem

提示说需要绝对路径但是当前是${JAVA_HOME};把${JAVA_HOME}改为绝对路径;好了;


再看其他的xml文件错误;

Description Resource Path Location Type
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:component-scan'. context-service.xml /jspxcms/src/main/resources/conf/core line 12 XML Problem

一时不明情况,下次再搞;


二 javapms

其部署说明如下;

1、 将程序ROOT目录拷贝至服务器指定目录,建议最好不要将程序部署在操作系统主分区目录,如C盘目录,也不要放tomcat安装目录下,这样能避免服务器重装系统或重装tomcat导致程序丢失的问题,本文将程序的ROOT目录拷贝在 E:\www\javapms目录下,记住这个路径,后文配置tomcat时将用到;
 
 2、 找到tomcat安装路径,在conf子文件夹下找到server.xml文件,这个文件可以配置网站的访问端口、指定程序部署路径。 

 修改端口:
 
  
  
此行中port=”8080”,即为网站访问端口设置,可根据实际需要改成相应的访问端口,正式上线使用时应改成80端口,这里暂时不做修改。 

 修改程序部署路径:
 
 
 
 appBase="E:\www\javapms" 设置程序部署路径,路径值对应上文提到的程序ROOT文件夹所在目录。 

3、 启动tomcat,访问网站http://localhost:8080,初次安装会看到网站安装向导,按要求填写安装;

4、安装提示成功后,重启tomcat服务,再次访问http://localhost:8080,此时能够看到网站首页,网站部署完成。 


启动tomcat,出现下述错误;提示没有JAVA_HOME环境变量;

三套JSP源代码的安装部署过程和遇到的问题图解_第9张图片


JAVA_HOME环境变量是定义好的,已检测过;打set命令查看,没有;但是从高级系统设置里查看,是存在的;

三套JSP源代码的安装部署过程和遇到的问题图解_第10张图片


再看一下前面定义好的各个环境变量,尽然没有;

三套JSP源代码的安装部署过程和遇到的问题图解_第11张图片

高级系统设置里有;此种情况比较少见;先不管;
从新用set命令设置JAVA_HOME环境变量;启动tomcat,成功;



三套JSP源代码的安装部署过程和遇到的问题图解_第12张图片


在浏览器访问localhost:8080;进入安装界面;


三套JSP源代码的安装部署过程和遇到的问题图解_第13张图片


许可;

三套JSP源代码的安装部署过程和遇到的问题图解_第14张图片

安装设置;

三套JSP源代码的安装部署过程和遇到的问题图解_第15张图片


安装完成;

三套JSP源代码的安装部署过程和遇到的问题图解_第16张图片


安装成功;重启tomcat;


三套JSP源代码的安装部署过程和遇到的问题图解_第17张图片


但是重启后访问首页时是空白;


看下8080端口的占用情况;

三套JSP源代码的安装部署过程和遇到的问题图解_第18张图片


有两个程序占有8080;查看8090没有占用;准备将tomcat端口改为8090;

三套JSP源代码的安装部署过程和遇到的问题图解_第19张图片


将tomcat端口改为8090后,访问首页还是空白;看8090端口,有两个程序占用;

三套JSP源代码的安装部署过程和遇到的问题图解_第20张图片


看9006端口,没有被占用;



在mysql中查看,安装后此项目的数据库已经在安装过程中创建了;

三套JSP源代码的安装部署过程和遇到的问题图解_第21张图片


将tomcat端口改为9006;访问首页还是空白;查看9006端口,正常,仅tomcat占用;

不知是下载源码的问题还是配置问题;下次再搞;

三套JSP源代码的安装部署过程和遇到的问题图解_第22张图片


访问首页一直空白;摘录一段tomcat日志看下;

127.0.0.1 - - [09/Sep/2016:17:17:59 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:17:59 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:00 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:00 +0800] "GET /favicon.ico HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:10 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:11 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:11 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:12 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:39 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:40 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:40 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:18:40 +0800] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:24:09 +0800] "GET / HTTP/1.1" 200 334
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:11 +0800] "GET / HTTP/1.1" 200 334
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/step1.jsp HTTP/1.1" 200 3748
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/css/install.css HTTP/1.1" 200 3210
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/js/jquery-1.7.2.min.js HTTP/1.1" 200 94843
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/css/com.css HTTP/1.1" 200 4025
127.0.0.1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/step1.jsp HTTP/1.1" 200 3748
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/img/logo.jpg HTTP/1.1" 200 10831
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/img/hdbg.png HTTP/1.1" 200 859
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/img/sub_nav_1.png HTTP/1.1" 200 546
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/img/mod_sub_nav.png HTTP/1.1" 200 842
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/img/button_icon.png HTTP/1.1" 200 743
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/img/fbg.jpg HTTP/1.1" 200 1140
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:24:41 +0800] "GET /setup/skin/img/df.jpg HTTP/1.1" 404 1036
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:25:13 +0800] "POST /setup/step2.jsp HTTP/1.1" 200 3164
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:25:13 +0800] "GET /setup/skin/img/df.jpg HTTP/1.1" 404 1036
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:25:13 +0800] "GET /setup/skin/img/sub_nav_2.png HTTP/1.1" 200 766
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:25:13 +0800] "GET /setup/skin/img/uc/tc.png HTTP/1.1" 404 1042
127.0.0.1 - - [09/Sep/2016:17:25:13 +0800] "GET /setup/step2.jsp HTTP/1.1" 200 3164
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:26:07 +0800] "POST /setup/setup.svl HTTP/1.1" 200 1748
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:26:07 +0800] "GET /setup/skin/img/df.jpg HTTP/1.1" 404 1036
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:26:07 +0800] "GET /setup/skin/img/sub_nav_3.png HTTP/1.1" 200 634
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:26:07 +0800] "GET /setup/skin/img/reg/smail.gif HTTP/1.1" 404 1050
127.0.0.1 - - [09/Sep/2016:17:26:07 +0800] "GET /setup/setup.svl HTTP/1.1" 200 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:26:07 +0800] "GET /setup/setup.svl HTTP/1.1" 200 -
127.0.0.1 - - [09/Sep/2016:17:28:25 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:28:25 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:28:29 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:28:31 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:28:32 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:28:33 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:28:33 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:28:34 +0800] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:29:05 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:05 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:07 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:10 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:11 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:11 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:12 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:12 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:13 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:13 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:14 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:29:14 +0800] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:28 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:28 +0800] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:30 +0800] "GET /R HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:30 +0800] "GET /R HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:31 +0800] "GET /RO HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:31 +0800] "GET /RO HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:31 +0800] "GET /ROO HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:31 +0800] "GET /ROO HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:31 +0800] "GET /ROOT HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:31 +0800] "GET /ROOT HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:32 +0800] "GET /ROOT/ HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:32 +0800] "GET /ROOT/ HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:33 +0800] "GET /ROOT/ HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:33 +0800] "GET /ROOT HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:33 +0800] "GET /ROOT HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:37 +0800] "GET /ROOT/ HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:37 +0800] "GET /ROOT/ HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:38 +0800] "GET /ROOT/j HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:38 +0800] "GET /ROOT/j HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:39 +0800] "GET /ROOT/ HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:39 +0800] "GET /ROOT/ HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:40 +0800] "GET /ROOT/i HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:40 +0800] "GET /ROOT/i HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:40 +0800] "GET /ROOT/in HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:40 +0800] "GET /ROOT/in HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:40 +0800] "GET /ROOT/ind HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:40 +0800] "GET /ROOT/ind HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:40 +0800] "GET /ROOT/inde HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:40 +0800] "GET /ROOT/inde HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:41 +0800] "GET /ROOT/index HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:41 +0800] "GET /ROOT/index HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:41 +0800] "GET /ROOT/index. HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:41 +0800] "GET /ROOT/index. HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:41 +0800] "GET /ROOT/index.j HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:41 +0800] "GET /ROOT/index.j HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:41 +0800] "GET /ROOT/index.js HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:41 +0800] "GET /ROOT/index.js HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:31:42 +0800] "GET /ROOT/index.jsp HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:42 +0800] "GET /ROOT/index.jsp HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:42 +0800] "GET /ROOT/index.jsp HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:46 +0800] "GET /ROOT/index.jsp HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:47 +0800] "GET /ROOT/index.jsp HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:47 +0800] "GET /ROOT/index.jsp HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:47 +0800] "GET /ROOT/index.jsp HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:31:48 +0800] "GET /ROOT/index.jsp HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:33:06 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:33:06 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:33:06 +0800] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:38:13 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:13 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:14 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:15 +0800] "GET /favicon.ico HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:18 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:18 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:18 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:19 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:19 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:19 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:19 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:19 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:38:20 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:05 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:06 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:07 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:07 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:08 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:10 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:11 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:11 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:34 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:35 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:35 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:36 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:39:38 +0800] "GET / HTTP/1.1" 404 -
127.0.0.1 - - [09/Sep/2016:17:48:52 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:52 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:52 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:52 +0800] "GET /favicon.ico HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:55 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:56 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:56 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:57 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:57 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:57 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:57 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:57 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:58 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:58 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:48:58 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:00 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:00 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:00 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:01 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:01 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:01 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:02 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:02 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:03 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:48 +0800] "GET / HTTP/1.1" 404 -
0:0:0:0:0:0:0:1 - - [09/Sep/2016:17:49:49 +0800] "GET / HTTP/1.1" 404 -

看到只有从网页上安装过程中的GET是成功的,都返回200;其他时候的GET都返回404;


三 java 网店系统jspgou

部署说明如下;


欢迎使用jspgou版,请按照以下步骤进行软件安装:

一、安装运行环境(JDK5+TOMCAT5.5+MYSQL5及以上,具体安装过程请参考本下载包中的相关说明文档);

二、将程序解压后的ROOT文件夹拷贝到tomcat安装目录下的webapps文件夹下(例如:D:\Tomcat6\webapps\),启动tomcat,在地址栏上输入http://localhost:8080(端口和部署路径视安装设置而定),请根据安装向导填写安装信息,安装完成后重启tomcat;

三、在浏览器的地址栏中输入http://localhost:8080,若系统正常显示网站首页则表示本系统顺利安装完成。

附:
系统管理后台登录:http://localhost:8080/jeeadmin/jspgou/index.do
用户名:admin
密  码:password

    感谢您使用JEECMS,系统使用过程中如遇到问题,请到JEECMS的官方网站http://www.jeecms.com 查看相关资料,或者加入JEECMS官方论坛(http://bbs.jeecms.com)发帖和大家一起交流,我们的技术人员和众多会员一起与您交流解答。


根据说明启动tomcat后,从浏览器进入安装界面;

三套JSP源代码的安装部署过程和遇到的问题图解_第23张图片

系统参数设置;

三套JSP源代码的安装部署过程和遇到的问题图解_第24张图片

安装完成;

三套JSP源代码的安装部署过程和遇到的问题图解_第25张图片


看下mysql中,安装过程中自动创建了数据库;jspgou;

三套JSP源代码的安装部署过程和遇到的问题图解_第26张图片


重启tomcat后,进入登录页面如下;

三套JSP源代码的安装部署过程和遇到的问题图解_第27张图片


使用界面;

三套JSP源代码的安装部署过程和遇到的问题图解_第28张图片



你可能感兴趣的:(原创教程,Java)