# Ne4SpringBoot **Repository Path**: 72/ne4springboot ## Basic Information - **Project Name**: Ne4SpringBoot - **Description**: Ne4SpringBoot is good - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-19 - **Last Updated**: 2025-02-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ne4SpringBoot开发框架是一个基于springboot Framework为基础的开发框架,避免了重复发明轮子的同时,也根据自身的业务进行个性化的拓展。 当前ne4SpringBoot的版本为: ``` com.tmsps ne4SpringBoot 3.1.3.1 ``` ne4SpringBoot升级至springboot 3,同时同步了springboot的版本号,创建了新的分支。 包结构: ![输入图片说明](img%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20231007111631.png) | 名称 | 名称 | 说明 | |-------|------------------------------------|-------------------------------------| | 注解 | com.tmsps.ne4springboot.annotation | annotation中是Ne框架根据业务定义的一些注解 | | 基础 | com.tmsps.ne4springboot.base | base中主要为Ne框架的基础方法定义 | | 异常 | com.tmsps.ne4springboot.exception | exception,这个在实际业务中使用的场景较少 | | 数据持久 | com.tmsps.ne4springboot.orm | orm是Ne框架持久层的核心工具包 | | Token | com.tmsps.ne4springboot.token | token用于一些数据的安全机制 | | 工具 | com.tmsps.ne4springboot.util | utils集合了一些常用的工具,起始是想着规避太多的第三方工具包的引用 | ### 最佳实践 构建一个maven项目(根据个人的习惯选择eclipse或者IDEA),在pom.xml中添加引用的库: ``` 4.0.0 org.springframework.boot spring-boot-starter-parent 3.1.3 com.xingge xg-erp v1.0.0 jar service-boot http://maven.apache.org UTF-8 17 17 17 3.1.3 3.1.3.1 1.2.18 4.0.0 2.2.2 7.11.0 4.4.0 5.0.5 2.6.6 3.8.5.v20230901-RELEASE 3.17.7 true org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-aop com.mysql mysql-connector-j com.alibaba druid-spring-boot-3-starter ${druid.version} com.tmsps ne4SpringBoot ${ne4SpringBoot.version} org.springframework.boot spring-boot-starter-data-redis org.apache.commons commons-pool2 org.projectlombok lombok true org.springframework.boot spring-boot-devtools runtime true com.auth0 java-jwt ${java-jwt.version} com.pig4cloud.plugin captcha-spring-boot-starter ${captcha.version} cn.afterturn easypoi-base ${easypoi.version} com.qiniu qiniu-java-sdk ${qiniu.version} org.apache.rocketmq rocketmq-client-java ${rocketmq.version} org.eclipse.paho org.eclipse.paho.mqttv5.client 1.2.5 org.lionsoul ip2region ${ip2region.version} org.redisson redisson ${redisson.version} org.t-io tio-core ${tio.version} org.springframework.boot spring-boot-starter-test test junit junit test org.springframework.boot spring-boot-maven-plugin com.xingge.pro.Application true repackage org.apache.maven.plugins maven-compiler-plugin ${maven.compiler.source} ${maven.compiler.target} ``` Ne4Spring框架还有很多有趣的方法供发掘,也欢迎共同完善开发框架,毕竟框架选得好,头发掉的少!