ZZJ_淘淘商城项目:day02(淘淘商城01 - 项目讲解、环境搭建)
在用Eclipse的开发中,可手动排除不必要的依赖坐标传递。
<!-- JPA的1.0依赖 --> <dependency> <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId> <version>1.0</version> </dependency>
<!-- 通用Mapper --> <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper</artifactId> <exclusions> <exclusion> <groupId>javax.persistence</groupId> <artifactId>persistence-api</artifactId> </exclusion> </exclusions> </dependency>
JDBC驱动的依赖坐标最好在web子模块导入,作用域是runtime
删除子模块依赖版本号那一行的快捷键是 ctrl+D
taotao-manage-web使用了富文本编辑器,需要导入其JSP页面中用到的jar包依赖
<!-- KindEditor富文本编辑器需要的包 --> <dependency> <groupId>org.apache.clerezza.ext</groupId> <artifactId>org.json.simple</artifactId> <version>0.4</version> </dependency>
============================================
参考资料:
end
部分内容来自于学习编程期间收集于网络的免费分享资源和工作后购买的付费内容。
如需获取教程配套的资源文件和一对一专属答疑支持,请加vx:kangmf24联系作者。