tiles框架的slf4j冲突
我也踩过这个坑( 1 )
tiles
详细描述
错误截图
编辑于2024-11-28
-
[郑州|结业弟子]JAVA-李雨航0
对的,使用tiles框架这个jar包会发生很多jar包冲突,具体你可以参考一下我的maven配置
我的spring版本是4.3.17
<!--tiles依赖开始-->
<!-- https://mvnrepository.com/artifact/org.apache.tiles/tiles-jsp -->
<dependency>
<groupId>org.apache.tiles</groupId>
<artifactId>tiles-jsp</artifactId>
<version>3.0.5</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.tiles/tiles-servlet -->
<dependency>
<groupId>org.apache.tiles</groupId>
<artifactId>tiles-servlet</artifactId>
<version>3.0.5</version>
<exclusions>
<exclusion>
<artifactId>jcl-over-slf4j</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<!--tiles框架结束-->编辑于2019-01-05
- 去第 页