java bpm平台2:前台技术框架(ssm+oracle+eclipse+maven)

来源:互联网 发布:北京学游戏编程 编辑:程序博客网 时间:2024/05/24 06:14

eclipse下用maven配置ssm+oracle

系统环境

1)Windows 7 企业版

2)JDK 1.8

3)Eclipse Java EE IDEfor Web Developers  Version: 4.7

4)Tomcat 6

5)oracle11g

6)maven3.5

1、maven安装配置

 参考https://www.cnblogs.com/tangshengwei/p/6341462.html

2、创建ssm框架

参考http://blog.csdn.net/gebitan505/article/details/44455235/和

https://www.cnblogs.com/cainiaomahua/p/6306991.html

3、遇到的坑

(1)出现web.xmljavax.serlet.http.HttpSerlet错误时,在工程上右键,查看工程属性,找到Java BuildPath,添加ServerRuntimeTomcat

(2)maven默认jre1.5,修改libraryjre版本

(3)在项目上右键,查看项目信息,修改java的版本

(4)pom.xml中,修改build节点,添加
<plugins>

      <plugin>

             <groupId>org.apache.maven.plugins</groupId>

             <artifactId>maven-compiler-plugin</artifactId>

             <configuration>

                    <source>1.8</source>

                    <target>1.8</target>

             </configuration>

      </plugin>

</plugins>

(5) [SetPropertiesRule]{Server/Service/Engine/Host/Context}Setting property 'source'警告,修改server配置,勾选publish modual contexts to separat XML files

 代码可通过http://download.csdn.net/download/dreamboy0908/10157040下载

 

原创粉丝点击