Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pom.xml有可能出现的错误 #92

Merged
merged 1 commit into from Jun 8, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -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数据库的开发流程
@@ -78,8 +91,6 @@ Eclipse导入:
| 密码 | root |
| 数据库 | thea |



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

```java
@@ -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"替换成你自己的“数据库名字”
}
```

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.