Skip to content

Commit 4011259

Browse files
authored
Merge pull request #92 from vincentCheng/master
pom.xml有可能出现的错误
2 parents c6e3eea + 8df7f5a commit 4011259

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

详细的说明文档.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,19 @@ Eclipse导入:
6363

6464
源代码在`APIJSON-Master/APIJSON-Java-Server/APIJSONORM`项目中。
6565

66+
### B3. pom.xml的错误修改。
67+
有可能这时候pom.xml中报错,例如:
68+
``` xml
69+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
70+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
71+
```
72+
这段带吗中的
73+
``` xml
74+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
75+
```
76+
提示错误。那么在Window->Preference->Maven->User Settings中查找你的包安装目录删除对应的包。
77+
具体操作请自行百度。
78+
6679
## C.开发说明
6780

6881
### C-1.基于Mysql数据库的开发流程
@@ -78,8 +91,6 @@ Eclipse导入:
7891
| 密码 | root |
7992
| 数据库 | thea |
8093

81-
82-
8394
那么需要在`DemoSQLConfig`,40-61行,改为自己数据库对应的链接
8495

8596
```java
@@ -99,7 +110,7 @@ Eclipse导入:
99110
@Override
100111
public String getSchema() {
101112
String s = super.getSchema();
102-
return StringUtil.isEmpty(s, true) ? "thea" : s; //TODO 改成你自己的
113+
return StringUtil.isEmpty(s, true) ? "thea" : s; //TODO 改成你自己的。例如:将"thea"替换成你自己的“数据库名字”
103114
}
104115
```
105116

0 commit comments

Comments
 (0)