Magic-CLub development - the eleventh day

A completed today

  1. successfully connect to the database. (Following figure shows the contents of the database, spring frame, the applet output terminal console)

   

   

  2. Combined applet front-end code.

  

Second, the plan tomorrow

  1. Modify the applet distal bug.

  2 shows the code for the first round.

  3. If there is enough time, formal API development.

Third, the personal summary

  spring configuration cumbersome in the past three days has been conducting spring configuration, and finally today to find out the relationship between the various levels of spring framework, the summary of the cause of the problem yesterday maven package is not a conflict, but did not import the connection pool, in pom.xml Add the following file to rely on.

        <dependency>
            <groupId>com.mchange</groupId>
            <artifactId>c3p0</artifactId>
            <version>0.9.5.2</version>
        </dependency>

   今日大多数时间浪费在MySQL上,不知何种原因,数据库连接错误,通过查找资料,查看他人解决办法,最终发现root用户密码置空,在撰写博文前才成功连接数据库,实现小程序与后端数据库通信。今日将全部前后端调试通顺,相信不久后即可完成全部代码编写,开始程序调试。今日学习到,开发程序总会有bug的时候,耐心查看问题,多看别人的解决方法,不轻易放弃,bug总会改好的。

 

Guess you like

Origin www.cnblogs.com/ljq1313/p/11431614.html