我在amazon EC2 linux实例上安装了vagrant 1.7.2.当我试图通过发出这个vagrant插件安装vagrant-aws命令来安装vagrant aws插件时,我收到以下错误,
Installing the 'vagrant-aws' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:
An error occurred while installing ffi (1.9.8), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.8'` succeeds before bundling.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem …Run Code Online (Sandbox Code Playgroud) 我有POST请求api调用,以从客户端(邮递员或Java客户端)接受json主体请求参数和多部分文件。
我想在单个请求中同时传递json数据和多部分文件。
我已经编写了如下代码。
@RequestMapping(value = "/sendData", method = RequestMethod.POST, consumes = "multipart/form-data")
public ResponseEntity<MailResponse> sendMail(@RequestPart MailRequestWrapper request) throws IOException
Run Code Online (Sandbox Code Playgroud)
但是,我无法使用邮递员休息客户端来完成它。
我在服务器端使用spring boot。
任何人都可以在这个问题上建议我。
提前致谢,