File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1919File > Import > Maven > Existing Maven Projects > Next > Browse <br />
2020 > 选择刚才解压路径下的APIJSON-Master/APIJSON-Java-Server/APIJSON-Eclipse <br />
2121 > 勾选 APIJSONDemo 和 APIJSONLibrary > Finish
22+ <br />
23+ 如果apijson-library有错误,一般是JDK版本过低<br />
24+ 右键apijson-library > Properties > Java Compiler > 取消选择Use compliance from ... > Complier compliance level选1.7以上的 > OK
25+ <br />
26+ 如果apijson-demo有错误,一般是没有依赖apijson-library<br />
27+ 右键apijson-demo > Properties > Java Build Path > Projects > Add > 选择apijson-library > OK > OK
2228
2329<h5 >2)配置(如果完成下方步骤4,导入APIJSON的表,则可跳过)</h5 >
2430打开 zuo.biao.apijson.server.sql.SQLConfig 类,编辑 MYSQL_URI,MYSQL_SCHEMA,MYSQL_ACCOUNT,MYSQL_PASSWORD 为你自己数据库的配置。
@@ -31,7 +37,7 @@ Run > Run As > Java Application > 选择APIJSONApplication > OK
3137
3238<h5 >1)打开</h5 >
3339Open > 选择刚才解压路径下的APIJSON-Master/APIJSON-Java-Server/APIJSON-Idea/APIJSONDemo > OK
34-
40+ < br />
3541如果有错误,一般是Idea没有给Module分配JDK, <br />
3642在Project Structure最下方的Problems会有project SDK is not defined报错。 <br /><br />
3743File > Project Structure > Project > Project SDK 选已安装的JDK <br />
You can’t perform that action at this time.
0 commit comments