Web课作业

根据老师给的攻略:

Setup Your Development Environment

 

1. Set up Java development environment

Build your JAVA development environment: Eclipse + JDK.

 

2. Set up database management system

Step 1. Download MySQL

https://dev.mysql.com/downloads/windows/installer/8.0.html

 

前两步比较顺利。第三步开始出现各种问题。Web课老师:“程序员就是,出现什么问题,我们就解决什么问题”。说的好。

 

3. MySQL GUI Tools

Step 1: Download GUI Tools and set up the software.

Step 2: Run the tools

Step 3:Connet MySQL db

 

问题一:MySQL Query Browser 连不上 数据库。

原因:版本问题,mysql8.0版本,与mysql5.0版本的加密方式不同。

解决方案:https://blog.csdn.net/qq_40605167/article/details/81253976

中间还有各种囧:

接下来是第四步。

4.Tomcat

Step 1: download Tomcat

https://tomcat.apache.org/download-90.cgi

Step 2: unzip the package file.

And remember the directory.

And type” http://localhost:8080/” in your browse.

If you're seeing this, you've successfully installed Tomcat. Congratulations!

Step 3. Start your eclipse software

Step 4. Click menu “window”--> “preferences”

Step 5. The preferences dialog.

问题二:发现自己的eclipse里preference没有server选项。

原因:eclipse版本太高了。

搜了一下攻略:https://www.cnblogs.com/xiaoxiaoweng/p/7298183.html

问题三:上面攻略里安装kepler插件的时候,提示“Unable to read repository”。

原因:外网的问题?

攻略:https://blog.csdn.net/xiaofanren1111/article/details/80997991(直接做第三步Reload即可,然后再尝试安装)

这个问题折腾了很久,终于大功告成:

Step 6. New Server Runtime Environment dialog.

After click “add”, you can see the dialog.

问题四:没有Tomcat v9.0?

原因:eclipse版本过低,更新的kepler插件版本也低。

解决方案:help里面check for updates即可。

Step 7. Browse your tomcat installation directory

Step 8. Click Finish and return the preferences dialog

Step 9. Click apply and close

至此,Web课作业的第一阶段告一段落。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章