365bet手机在线网页-bt365娱乐官网-365手机版

365手机版

SSM项目所需依赖及配置文件

SSM项目所需依赖及配置文件

为方便快速地搭建ssm框架,将ssm所需的基本依赖及各配置文件汇总如下:

1.pom.xml文件的依赖

其中的版本可根据需要自行修改

javax

javaee-web-api

8.0.1

provided

javax.servlet

jstl

1.2

taglibs

standard

1.1.2

org.springframework

spring-core

5.2.5.RELEASE

org.springframework

spring-context

5.2.5.RELEASE

org.springframework

spring-web

5.2.5.RELEASE

org.springframework

spring-beans

5.2.5.RELEASE

org.springframework

spring-webmvc

5.2.5.RELEASE

org.springframework

spring-orm

5.2.5.RELEASE

org.springframework

spring-aop

5.2.5.RELEASE

org.springframework

spring-aspects

5.2.5.RELEASE

org.springframework

spring-tx

5.2.5.RELEASE

commons-dbcp

commons-dbcp

1.4

org.mybatis

mybatis

3.5.3

org.mybatis

mybatis-spring

2.1.0

mysql

mysql-connector-java

8.0.32

com.fasterxml.jackson.core

jackson-core

2.9.9

com.fasterxml.jackson.core

jackson-annotations

2.9.9

com.fasterxml.jackson.core

jackson-databind

2.9.9

junit

junit

4.12

test

2.applicationContext.xml

根据自己的项目对项目包进行修改

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"

xmlns:context="http://www.springframework.org/schema/context"

xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"

xsi:schemaLocation="http://www.springframework.org/schema/beans

http://www.springframework.org/schema/beans/spring-beans-3.2.xsd

http://www.springframework.org/schema/mvc

http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd

http://www.springframework.org/schema/context

http://www.springframework.org/schema/context/spring-context-3.2.xsd

http://www.springframework.org/schema/aop

http://www.springframework.org/schema/aop/spring-aop-3.2.xsd

http://www.springframework.org/schema/tx

http://www.springframework.org/schema/tx/spring-tx-3.2.xsd ">

destroy-method="close">

class="org.springframework.jdbc.datasource.DataSourceTransactionManager">

pointcut="execution(* com.yang.hrsys.service.impl.*.*(..))" />

3.springmvc-config.xml

xmlns="http://www.springframework.org/schema/beans" xmlns:p="http://www.springframework.org/schema/p"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"

xmlns:mvc="http://www.springframework.org/schema/mvc"

xsi:schemaLocation="

http://www.springframework.org/schema/beans

http://www.springframework.org/schema/beans/spring-beans-3.0.xsd

http://www.springframework.org/schema/mvc

http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd

http://www.springframework.org/schema/context

http://www.springframework.org/schema/context/spring-context-3.0.xsd">

class="org.springframework.web.servlet.view.InternalResourceViewResolver">

value="org.springframework.web.servlet.view.JstlView" />

4.web.xml

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"

version="4.0">

contextConfigLocation

classpath:applicationContext.xml

org.springframework.web.context.ContextLoaderListener

SpringMVC

org.springframework.web.servlet.DispatcherServlet

contextConfigLocation

classpath:springmvc.xml

SpringMVC

/

characterEncodingFilter

org.springframework.web.filter.CharacterEncodingFilter

encoding

UTF-8

forceEncoding

true

characterEncodingFilter

/*

index.html

index.htm

index.jsp

default.html

default.htm

default.jsp

← 婚戒一般多少钱 2016年至2017年短道速滑世界杯 →

相关阅读

国际足联联合会杯

此条目的主題是足球联合会杯。关于网球联合会杯,請見「协会杯」。 国际足联联合会杯(英語:FIFA Confederations Cup),由国际足球联合会主辦

📅 06-27 🌿 365bet手机在线网页