taotao-manager-service/pom.xml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | < project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> < modelVersion >4.0.0</ modelVersion > < parent > < groupId >com.taotao</ groupId > < artifactId >taotao-manager</ artifactId > < version >0.0.1-SNAPSHOT</ version > </ parent > < artifactId >taotao-manager-service</ artifactId > < packaging >war</ packaging > < dependencies > <!-- 添加接口的依赖 --> < dependency > < groupId >com.taotao</ groupId > < artifactId >taotao-manager-interface</ artifactId > < version >0.0.1-SNAPSHOT</ version > </ dependency > <!-- 需要从数据库查,添加dao依赖 --> < dependency > < groupId >com.taotao</ groupId > < artifactId >taotao-manager-dao</ artifactId > < version >0.0.1-SNAPSHOT</ version > </ dependency > <!-- Spring --> < dependency > < groupId >org.springframework</ groupId > < artifactId >spring-context</ artifactId > </ dependency > < dependency > < groupId >org.springframework</ groupId > < artifactId >spring-beans</ artifactId > </ dependency > < dependency > < groupId >org.springframework</ groupId > < artifactId >spring-webmvc</ artifactId > </ dependency > < dependency > < groupId >org.springframework</ groupId > < artifactId >spring-jdbc</ artifactId > </ dependency > < dependency > < groupId >org.springframework</ groupId > < artifactId >spring-aspects</ artifactId > </ dependency > < dependency > < groupId >org.springframework</ groupId > < artifactId >spring-jms</ artifactId > </ dependency > < dependency > < groupId >org.springframework</ groupId > < artifactId >spring-context-support</ artifactId > </ dependency > <!-- dubbo相关 --> < dependency > < groupId >com.alibaba</ groupId > < artifactId >dubbo</ artifactId > <!-- 排除依赖 --> < exclusions > < exclusion > < groupId >org.springframework</ groupId > < artifactId >spring</ artifactId > </ exclusion > < exclusion > < groupId >org.jboss.netty</ groupId > < artifactId >netty</ artifactId > </ exclusion > </ exclusions > </ dependency > <!-- zookepper的核心包依赖 --> < dependency > < groupId >org.apache.zookeeper</ groupId > < artifactId >zookeeper</ artifactId > </ dependency > <!-- 连接zookeeper客户端的依赖 --> < dependency > < groupId >com.github.sgroschupf</ groupId > < artifactId >zkclient</ artifactId > </ dependency > </ dependencies > </ project > |
提示: 加入dubbo相关的jar包,服务层、表现层都添加。Dubbo依赖的坑,在pom.xml需要排除。
https://github.com/godmaybelieve
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· winform 绘制太阳,地球,月球 运作规律
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理