原创 Integer.parseInt() 和valueOf 的區別
今天查看以前的find-bugs 插件導出的bug列表,其中有這麼一條,這個級別還是high ,既然是高級別的bug,那我得看看了 Boxing/unboxing to parse a primitive 這一條的最後定位爲 val
原创 intellij idea eclipse mac 設置java編碼格式爲google - style
忘了原地址了,好像是國外的網站上的,侵權請聯繫我 Download the intellij-java-google-style.xml file from the http://code.google.com/p/google-s
原创 echarts 獲取元素
在使用echarts的時候,獲取已經生成的 echarts 的對象,echarts 提供了一個方法,但是經常報錯 Uncaught TypeError: echarts.getInstanceByDom is not a functio
原创 openstack dashboard django版本問題
自己學習搭建的openstack最小節點是R版本 然後horizon 組件配置安裝後出現 http 服務啓動不了 Apache啓動不了 版本最後查看 django的版本是 1.8 版本低 ,升級一下django版本 >>> import
原创 PyCharm設置python新建文件 模板修改 設置 文件爲python 和utf-8 解決控制檯輸出亂碼
PyCharm新建文件時可以在模板中設置 該文件爲python文件 和 文件爲utf-8 控制檯輸出亂碼 點贊 收藏 分享 文章舉報 我是老孫 發佈了39 篇原創
原创 爲什麼用MAVEN構建
原來的時候很少接觸maven,自從參加一個項目用了maven構建,開始接觸MAVEN 。其實我們用的功能真的不多,就是很基礎的使用。後來換了公司,又回退到大家常用的java-web的開發的常用的構建方式。漸漸地就體會到 MAVEN構建的
原创 雲硬盤與雲存儲(對象存儲)
https://bbs.huaweicloud.com/forum/thread-6649-1-1.html 雲硬盤是可以掛載到雲主機上,和物理硬盤一樣使用。 雲存儲則類似於網盤一樣。 兩者聽起來差不多,但實際上,無論在應用場景,還是設
原创 一次莫名奇妙的無法編譯 xftp
前兩天在工作中遇到工程無法編譯的情況 無法編譯,在intellij idea中 顯示classes下的文件 拒絕訪問,如下圖所示 在 eclipse 下 表現如下 總的來說 classes 文件夾拒絕訪問。 然後機器重啓好了
原创 Type string trivially inferred from a string literal, remove type annotation (no-inferrable-types)
https://blog.csdn.net/mingyueyixi/article/details/72955218
原创 hadoop 格式化成功
hadoop格式化成功
原创 What's the difference between mvn:deploy and mvn:install commands?
http://stackoverflow.com/questions/7531115/whats-the-difference-between-mvndeploy-and-mvninstall-commands mvn:ins
原创 xz not found
yum groupinstall "Development tools" yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel r
原创 solr 在非集羣模式下 core和collection是一樣的
Solr at http://localhost:8983/solr is running in standalone server mode, please use the create_core command instead; cr
原创 spring boot 2.0採坑紀實-(1)
spring boot2 和spring cloud 進行結合使用的時候有以下錯誤 org.springframework.boot.builder.SpringApplicationBuilder.([Ljava/lang/Obje
原创 NullInjectorError: No provider for String! angular2開發
https://stackoverflow.com/questions/41882599/angular2-exception-no-provider-for-string 下面是回答摘抄 private my: string sho