原创 [已解決]Spring aop 使用@Aspect 提示 caused by: java.lang.IllegalArgumentException: error at ::0 can't find

問題描述: 今天使用spring AOP 實現日誌攔截的時候,提示下面的報錯: caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenc

原创 [已解決]N天后的時間戳比當前時間戳小的問題

今天在做一個需求,要求客戶只能在到期提前30天續費,於是寫了這個判斷: if (addedProduct.getExpTime().getTime() > System.currentTimeMillis() + 30 * 24 *