Skip to content

Commit

Permalink
Merge pull request #92 from vincentCheng/master
Browse files Browse the repository at this point in the history
pom.xml有可能出现的错误
  • Loading branch information
TommyLemon authored Jun 8, 2019
2 parents c6e3eea + 8df7f5a commit 4011259
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions 详细的说明文档.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,19 @@ Eclipse导入:

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

### B3. pom.xml的错误修改。
有可能这时候pom.xml中报错,例如:
``` xml
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
```
这段带吗中的
``` xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
```
提示错误。那么在Window->Preference->Maven->User Settings中查找你的包安装目录删除对应的包。
具体操作请自行百度。

## C.开发说明

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



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

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

Expand Down

0 comments on commit 4011259

Please sign in to comment.