三个源码下载自源码之家;
Maven和3个源码也可在此下载;
http://pan.baidu.com/s/1qYnK784
一 jspxcms
本源码包采用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,密码:空。
在mysql中创建数据库;
运行提供的sql脚本;
成功,建立了数据库;
启动Eclipse;谁知出现下图;
JDK是安装配置好的;不知啥情况;先在eclipse.ini中添加如下两行;
-vm
C:\Program Files (x86)\Java\jre1.8.0_77\bin\javaw.exe
再启动;好了;
导入Maven项目;
根据说明,将自动从Maven服务器下载第三方jar包;如下;
等待时间比较长;
下载完成;项目建立;但是有很多错误;如下图;
先看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
2、 找到tomcat安装路径,在conf子文件夹下找到server.xml文件,这个文件可以配置网站的访问端口、指定程序部署路径。
修改端口:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
此行中port=”8080”,即为网站访问端口设置,可根据实际需要改成相应的访问端口,正式上线使用时应改成80端口,这里暂时不做修改。
修改程序部署路径:
<Host name="localhost" appBase="E:\www\javapms" unpackWARs="true" autoDeploy="true">
appBase="E:\www\javapms" 设置程序部署路径,路径值对应上文提到的程序ROOT文件夹所在目录。
3、 启动tomcat,访问网站http://localhost:8080,初次安装会看到网站安装向导,按要求填写安装;
4、安装提示成功后,重启tomcat服务,再次访问http://localhost:8080,此时能够看到网站首页,网站部署完成。
在浏览器访问localhost:8080;进入安装界面;
许可;
安装设置;
安装完成;
安装成功;重启tomcat;
但是重启后访问首页时是空白;
看下8080端口的占用情况;
有两个程序占有8080;查看8090没有占用;准备将tomcat端口改为8090;
将tomcat端口改为8090后,访问首页还是空白;看8090端口,有两个程序占用;
看9006端口,没有被占用;
在mysql中查看,安装后此项目的数据库已经在安装过程中创建了;
将tomcat端口改为9006;访问首页还是空白;查看9006端口,正常,仅tomcat占用;
不知是下载源码的问题还是配置问题;下次再搞;
访问首页一直空白;摘录一段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)发帖和大家一起交流,我们的技术人员和众多会员一起与您交流解答。
系统参数设置;
安装完成;
看下mysql中,安装过程中自动创建了数据库;jspgou;
重启tomcat后,进入登录页面如下;
使用界面;