2021/03/05
2021/01/21
2020/03/26
[spring] com.mchange.v2.c3p0.impl.NewProxyConnection.createClob()
將專案導入 spring 時,常常會出現意想不到的狀況,像是預設行為默默地被改變之類的。
2014/09/23
[spring] 用 Mockito 對 @Autowired 物件作單元測試
在 spring 大量改用 @Autowired 注入後,程式碼中的 getter & setter 逐步移除,讓單元測試變成卡卡的,之前作法是將物件 mock 後再由 setter 設定到 bean 中,但沒有 setter 後該怎麼處理呢?
2014/01/09
[spring] The prefix "context" for element "context:property-placeholder"...
在 ApplicationContext 載入 xml 時,丟出 org.xml.sax.SAXParseException。
2012/12/25
[spring] xml 設定 system property 的方法
在 xml 設定 system property,將要加入的 system property 放到 <prop> 內。將 $PROPERTY_NAME 及 $PROPERTY_VALUE 更換成設定的變數。
2012/05/24
2012/05/23
[spring] Could not access JMS invoker queue
org.springframework.remoting.RemoteAccessException:
Could not access JMS invoker queue [name]; nested exception is javax.jms.JMSException: User name or password is invalid. at ...
訂閱:
文章 (Atom)