我正在使用Spring 4.x和Hibernate 4.x开发基于简单休息的CURD操作。每当我调用url来获取数据库中的所有用户时,我都会遇到异常。 for servlet [helloApp] in context with path [/helloApp] threw exception [Request processing failed; nested exception is org.
如何更改验证消息的资源包?默认的是读取我的ValidationMessages.properties作为ISO-8859-1(我猜),但它是UTF-8。我试过这个: @Configuration
@EnableWebMvc
@ComponentScan
public class ApplicationConfiguration extends WebMvcConfigurerAdapter{