---
# System prepended metadata

title: Springboot problem
tags: [JAVA]

---

###### tags: `JAVA`
# Springboot problem

 
### Caused by: org.attoparser.ParseException: Exception evaluating SpringEL expression: "#array.length(tag.blogs)" (template: "index" - line 150, col 91) ==
A:array 少 s


### org.hibernate.hql.internal.QueryExecutionRequestException: Not supported for DML operations == 
A:須配合@Modifying 才能做DML操作


### Page index must not be less than zero ==
A:上下頁需做判斷 如th:unless="${page.first}"、"${page.last}"


### Caused by: java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'username' available as request attribute 

### at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:153) ~[spring-webmvc-5.3.22.jar:5.3.22] ==


  ![](https://i.imgur.com/4hdrMWu.png)


A:若是未付費版的intellij需要自行勾選，沒有打勾的話, 編譯的時候讀的到class, 但runtime的時候讀不到
