1、最近要做把數(shù)據(jù)提交到服務(wù)器,為了方便測試,想自己寫個簡易的服務(wù)器
一轧铁、IntelliJ IDEA(2017.2)安裝和破解
http://blog.csdn.net/qq_31496897/article/details/73610009
- 到網(wǎng)站 http://idea.lanyus.com/ 獲取注冊碼每聪。
2.填入下面的license server:
http://intellij.mandroid.cn/ http://idea.imsxm.com/ http://idea.iteblog.com/key.php
以上方法驗(yàn)證均可以
發(fā)現(xiàn)官網(wǎng)下載idea會斷掉,用了下載工具下 我的是ubuntu環(huán)境
一開始下載網(wǎng)速一直不行,自從在百度云找了2017.1資源來下速度就提上去了药薯。绑洛。。童本。
二真屯、IntelliJ IDEA 2017版 創(chuàng)建 hello world Java web Maven項(xiàng)目
http://blog.csdn.net/qq_31496897/article/details/73604563
使用IntelliJ IDEA開發(fā)java web
http://www.cnblogs.com/carsonzhu/p/5468223.html
Intellij idea創(chuàng)建javaWeb以及Servlet簡單實(shí)現(xiàn)
http://blog.csdn.net/yhao2014/article/details/45740111
Maven 的單模塊 / 多模塊之 Spring MVC + Spring + Mybatis 項(xiàng)目講解
http://wiki.jikexueyuan.com/project/intellij-idea-tutorial/maven-java-web-project-introduce.html
這個有動圖 具體創(chuàng)建項(xiàng)目看這個
http://whudoc.qiniudn.com/2016/IntelliJ-IDEA-Tutorial/maven-project-introduce.html
Intellij idea創(chuàng)建javaWeb以及Servlet簡單實(shí)現(xiàn)http://blog.csdn.net/yhao2014/article/details/45740111
三、
環(huán)境安裝穷娱、ubuntu14.04 配置tomcat8 原理類似
http://blog.csdn.net/xingjiarong/article/details/49386989
【4】異常處理
1绑蔫、java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: enjoy-I: enjoy-I:
由于我改了hosts
加上enjoy-I就可以了
sudo gedit /etc/hosts
127.0.0.1 testdomain localhost.localdomain localhost node24.nise.local enjoy-I
2、Address localhost:1099 is already in use
Run --stop ... 把tomcat 手動關(guān)閉下
【5】數(shù)據(jù)庫操作
ubuntu下myqsl gui工具
百度了下mysql可視化工具M(jìn)ySQL-workbench
create database giit; #新建數(shù)據(jù)庫giit
use giit; #使用數(shù)據(jù)庫giit
show databases; #顯示系統(tǒng)所有數(shù)據(jù)庫
拷貝.sql文件內(nèi)容執(zhí)行
查詢:
use giit; #使用數(shù)據(jù)庫giit
select * from user
【6】Eclipse下載
IDEA 沒用好泵额,看到好幾個項(xiàng)目都是Eclipse工程配深,還是用Eclipse吧
推薦個鏡像 官網(wǎng)網(wǎng)絡(luò)實(shí)在是太差了
我下的是這個
http://mirrors.neusoft.edu.cn/eclipse/technology/epp/downloads/release/oxygen/R/eclipse-jee-oxygen-R-linux-gtk-x86_64.tar.gz
http://mirrors.neusoft.edu.cn/eclipse/technology/epp/downloads/release/oxygen/R/