我使用的是Spring-core 3.2 jar,但我收到错误
" java.lang.NoClassDefFoundError: 组织/ springframework的/ util的/ MultiValueMap"
MultiValueMap<String, String> formData = new LinkedMultiValueMap<String, String>();
formData.add("xxx","xxxx");
formData.add("yyy","yyy");
formData.add("r","5");
formData.add("d","0");
我需要将此数据传递给HTTP帖子,但我遇到了错误。我在Jars下面导入了:
import org.springframework.http.converter.FormHttpMessageConverter;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.StringHttpMessageConverter;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;