三个源码下载自源码之家;
Maven和3个源码也可在此下载;
http://pan.baidu.com/s/1qYnK784
在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
一时不明情况,下次再搞;
在浏览器访问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 -
系统参数设置;
安装完成;
看下mysql中,安装过程中自动创建了数据库;jspgou;
重启tomcat后,进入登录页面如下;
使用界面;