mysql数据库安装好,这里不多说,现在来执行sql脚本
http://download.csdn.net/detail/shenhonglei1234/6019677
将下载好的脚本后缀名“openbooks.sql” 放在C盘根目录
打开mysql Command line client
Now. 我们可以运行我们的程序了
Maven打war包, copy到tomcat下webapps,然后启动server
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ openjpatest ---
[INFO] Installing C:workspaceopenjpatest argetopenjpatest.war to C:maven
epositorycomshenopenjpatest .0.1-SNAPSHOTopenjpatest-0.0.1-SNAPSHOT.war
[INFO] Installing C:workspaceopenjpatestpom.xml to C:Integrationmaven
epositorycomshenopenjpatest .0.1-SNAPSHOTopenjpatest-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.793s
[INFO] Finished at: Tue Aug 27 15:20:22 CST 2013
[INFO] Final Memory: 6M/10M
[INFO] ------------------------------------------------------------------------
将openjpatest-0.0.1-SNAPSHOT.war 拷贝到tomcat webapps下面,启动server(可以直接启动,也可以关联到eclipse下启动),自动解压
以上代码下载link:
http://download.csdn.net/detail/shenhonglei1234/6020133