您的位置:首页 > 数据库 > Oracle

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

2017-12-13 16:28 423 查看
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.xml中javax.serlet.http.HttpSerlet错误时,在工程上右键,查看工程属性,找到Java
BuildPath,添加ServerRuntime为Tomcat

(2)maven默认jre为1.5,修改library的jre版本

(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下载

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐