eclipse編輯器功能強大,正則式的支援有時也很有用。除了編程,有時候還可以做點別的事兒。比如:有工具產生的sql指令碼,但不符合要求,需要小小修改。又不想寫程式,perl俺不會寫,批處理功能不夠強,咋辦呢,直接用eclipse的正則替換功能可以做到: 比如:sql是一系列的 insert 語句,用換行分隔,形如:insert into T_table (FID,.....) values('FID值',....);想替換為:delete from T_table where
1 致謝 感謝小丸子是程式員的博文 連結如下:http://blog.sina.com.cn/s/blog_6cd73dfb01013zkg.html 2 問題描述 今天重裝了JDK和JRE 遇到這樣一個問題 開啟Eclipse時報錯了 說是“…No java virtual machine was found after searching the follwing locations…”
更改了JDK版本後再次運行程式出現這個錯誤 Run On Server 錯誤:Project facet Java version 1.7 is not supported.__Java"> 原因是因為安裝Tomcat時,需要指定一個JDK,如果這個JDK版本和工程BuildPath指定的版本不一致時,就會出現這樣的錯誤。 windows->Preferences->Server->Runtime Environment
描述 eclipse啟動時,會提示選擇workspace,此空間可以自己設定儲存位置,但若選擇”Use this as the default and do not ask again”,則設定預設空間,之後偶爾會有需要開啟第二個workspace的情況,比如不同版本的重名項目,修改線上bug的需要等。 解決方案 這裡需要把啟動的預設workspace更改回來。 windows->perferences->General->Startup and
問題描述 使用eclipse建立Maven工程時,出現如下錯誤: Description Resource Path Location TypeBuild path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment.