GeezerVison is showing github.com — Java:APIJSONFinal 升级 JFinal, Jfinal-Undertow 分别至最新稳定版 4.9.06, 2.4;API… · intro0520/APIJSON-Demo@a6da9b8
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: APIJSON-Java-Server/APIJSONBoot/pom.xml +3-5Lines changed: 3 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
32 | 32 | <version>4.0.1</version> |
33 | 33 | </dependency> |
34 | 34 |
|
35 | | - <!-- 单元测试:可使用 libs 目录的 unitauto-java.jar 和 unitauto-jar.jar 来替代,两种方式二选一 |
36 | | - <<<<<<<<< --> |
| 35 | + <!-- 单元测试:可使用 libs 目录的 unitauto-java.jar 和 unitauto-jar.jar 来替代,两种方式二选一 <<<<<<<<< --> |
37 | 36 | <dependency> |
38 | 37 | <groupId>com.github.TommyLemon</groupId> |
39 | 38 | <artifactId>unitauto-java</artifactId> |
|
49 | 48 | <artifactId>classgraph</artifactId> |
50 | 49 | <version>4.8.87</version> |
51 | 50 | </dependency> |
52 | | - <!-- 单元测试:可使用 libs 目录的 unitauto-java.jar 和 unitauto-jar.jar 来替代,两种方式二选一 |
53 | | - >>>>>>>>> --> |
| 51 | + <!-- 单元测试:可使用 libs 目录的 unitauto-java.jar 和 unitauto-jar.jar 来替代,两种方式二选一 >>>>>>>>> --> |
54 | 52 |
|
55 | 53 |
|
56 | 54 | <!-- 可使用 libs 目录的 apijson-orm.jar 和 apijson-framework.jar 来替代,两种方式二选一 <<<<<<<<<< --> |
|
66 | 64 | </dependency> |
67 | 65 | <!-- 可使用 libs 目录的 apijson-orm.jar 和 apijson-framework.jar 来替代,两种方式二选一 >>>>>>>>>> --> |
68 | 66 |
|
69 | | - <!-- APIJSONBoot 需要用的数据库 JDBC 驱动 --> |
| 67 | + <!-- 需要用的数据库 JDBC 驱动 --> |
70 | 68 | <dependency> |
71 | 69 | <groupId>mysql</groupId> |
72 | 70 | <artifactId>mysql-connector-java</artifactId> |
|
Collapse file
Copy file name to clipboardExpand all lines: APIJSON-Java-Server/APIJSONDemo/pom.xml +9-9Lines changed: 9 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
18 | 18 | </properties> |
19 | 19 |
|
20 | 20 | <dependencies> |
21 | | - <!-- APIJSONBoot 需要用的数据库 JDBC 驱动 --> |
| 21 | + <!-- 需要的 APIJSON 相关依赖 --> |
| 22 | + <dependency> |
| 23 | + <groupId>com.github.APIJSON</groupId> |
| 24 | + <artifactId>apijson-framework</artifactId> |
| 25 | + <version>LATEST</version> |
| 26 | + </dependency> |
| 27 | + |
| 28 | + <!-- 需要用的数据库 JDBC 驱动 --> |
22 | 29 | <dependency> |
23 | 30 | <groupId>mysql</groupId> |
24 | 31 | <artifactId>mysql-connector-java</artifactId> |
|
31 | 38 | </dependency> |
32 | 39 | <!-- Oracle, SQLServer 等其它数据库的 JDBC 驱动,可以在这里加上 Maven 依赖或 libs 目录放 Jar 包并依赖 --> |
33 | 40 |
|
34 | | - <!-- APIJSONBoot 需要的 APIJSON 相关依赖 --> |
35 | | - <dependency> |
36 | | - <groupId>com.github.APIJSON</groupId> |
37 | | - <artifactId>apijson-framework</artifactId> |
38 | | - <version>LATEST</version> |
39 | | - </dependency> |
40 | | - |
41 | | - <!-- APIJSONBoot 需要用的 SpringBoot 框架,1.4.0 以上 --> |
| 41 | + <!-- 需要用的 SpringBoot 框架,1.4.0 以上 --> |
42 | 42 | <dependency> |
43 | 43 | <groupId>org.springframework.boot</groupId> |
44 | 44 | <artifactId>spring-boot-starter-web</artifactId> |
|
Collapse file
Copy file name to clipboardExpand all lines: APIJSON-Java-Server/APIJSONFinal/pom.xml +8-5Lines changed: 8 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 | <name>Demo project for APIJSON Server based on JFinal</name> |
9 | 9 | <url>http://maven.apache.org</url> |
10 | 10 | <dependencies> |
| 11 | + <!-- APIJSON 需要用的依赖库,1.2.0 以上 --> |
11 | 12 | <dependency> |
12 | 13 | <groupId>com.alibaba</groupId> |
13 | 14 | <artifactId>fastjson</artifactId> |
14 | 15 | <version>1.2.74</version> |
15 | 16 | </dependency> |
16 | 17 |
|
| 18 | + <!-- apijson-framework 需要用的依赖库,4.0.0 以上 --> |
17 | 19 | <dependency> |
18 | 20 | <groupId>javax.servlet</groupId> |
19 | 21 | <artifactId>javax.servlet-api</artifactId> |
|
33 | 35 | </dependency> |
34 | 36 | <!-- 可使用 libs 目录的 apijson-orm.jar 和 apijson-framework.jar 来替代,两种方式二选一 >>>>>>>>>> --> |
35 | 37 |
|
36 | | - <!-- APIJSONBoot 需要用的数据库 JDBC 驱动 --> |
| 38 | + <!-- 需要用的数据库 JDBC 驱动 --> |
37 | 39 | <dependency> |
38 | 40 | <groupId>mysql</groupId> |
39 | 41 | <artifactId>mysql-connector-java</artifactId> |
|
46 | 48 | </dependency> |
47 | 49 | <!-- Oracle, SQLServer 等其它数据库的 JDBC 驱动,可以在这里加上 Maven 依赖或 libs 目录放 Jar 包并依赖 --> |
48 | 50 |
|
49 | | - <!-- APIJSONBoot 需要用的 JFinal 框架,3.5 以上 --> |
| 51 | + <!-- 需要用的 JFinal 框架,3.5 以上 --> |
50 | 52 | <dependency> |
51 | 53 | <groupId>com.jfinal</groupId> |
52 | 54 | <artifactId>jfinal-undertow</artifactId> |
53 | | - <version>1.9</version> |
| 55 | + <version>2.4</version> |
54 | 56 | </dependency> |
55 | 57 | <dependency> |
56 | 58 | <groupId>com.jfinal</groupId> |
57 | 59 | <artifactId>jfinal</artifactId> |
58 | | - <version>4.6</version> |
| 60 | + <version>4.9.06</version> |
59 | 61 | </dependency> |
60 | | - <!-- cors跨域 --> |
| 62 | + |
| 63 | + <!-- CORS 跨域 --> |
61 | 64 | <dependency> |
62 | 65 | <groupId>com.thetransactioncompany</groupId> |
63 | 66 | <artifactId>cors-filter</artifactId> |
|