为了账号安全,请及时绑定邮箱和手机立即绑定

JAVA调用百度ai中人脸识别时,import com.google.gson****not worked,怎么解决??

/ 猿问

JAVA调用百度ai中人脸识别时,import com.google.gson****not worked,怎么解决??

张幼安 2018-08-26 23:27:16

百度ai平台发布的人脸识别接口,在对其进行java调用时根据文档中心说明,创建了Acess_token类,face_dectect类,并下载了sdk添加到了路径和对应的四种工具类,但是在工具类GsonUtils中,一直报错,显示三行import都有问题import com.google.gson.***其中,import com.google...not worked。一直解决不了!!!!

在百度上查了很多资料,但看情况都是关于android的,都是在做android遇到的问题,关于安卓的解决方法,解决不了这个啊,然后还有说缺少c2md什么jar包的,但是不知道那是啥。

目前的话,关于java调用接口,百度平台可下载的sdk其中只包含三个jar包可添加到路径,会不会是这个问题?

查看完整描述

3 回答

?
慕雪4097207

https://dribbble.com/shots/9162742

https://dribbble.com/shots/9162763

https://dribbble.com/shots/9162771

https://dribbble.com/shots/9162776

https://dribbble.com/shots/9162781

https://dribbble.com/shots/9162785

https://dribbble.com/shots/9162841

https://dribbble.com/shots/9162847

https://dribbble.com/shots/9162851

https://dribbble.com/shots/9162854

https://dribbble.com/shots/9162856

https://dribbble.com/shots/9162933

https://dribbble.com/shots/9162944

https://dribbble.com/shots/9162951

https://dribbble.com/shots/9162953

https://dribbble.com/shots/9162952

https://dribbble.com/shots/9163047

https://dribbble.com/shots/9163052

https://dribbble.com/shots/9163056

https://dribbble.com/shots/9163059

https://dribbble.com/shots/9163067

https://dribbble.com/shots/9163088

https://dribbble.com/shots/9163091

https://dribbble.com/shots/9163093

https://dribbble.com/shots/9163095

https://dribbble.com/shots/9163099

https://dribbble.com/shots/9163197

https://dribbble.com/shots/9163202

https://dribbble.com/shots/9163206

https://dribbble.com/shots/9163212

https://dribbble.com/shots/9163218

https://dribbble.com/shots/9163238

https://dribbble.com/shots/9163242

https://dribbble.com/shots/9163245

https://dribbble.com/shots/9163249

https://dribbble.com/shots/9163253

https://dribbble.com/shots/9164737

https://dribbble.com/shots/9164739

https://dribbble.com/shots/9164743

https://dribbble.com/shots/9164745

https://dribbble.com/shots/9164748

https://dribbble.com/shots/9164762

https://dribbble.com/shots/9164764

https://dribbble.com/shots/9164768

https://dribbble.com/shots/9164773

https://dribbble.com/shots/9164774

https://giphy.com/channel/nnkjsdalk

https://giphy.com/channel/mkjkiydfxsdfg

https://giphy.com/channel/jkjkdfghjjhui

https://giphy.com/channel/oiouieurtuy

https://giphy.com/channel/nmxvnbnzbb

https://giphy.com/channel/ueruyuwruyiertier


查看完整回答
反对 回复 2020-01-01
?
qq_慕无忌6542364

请问一下问题解决了吗?

查看完整回答
反对 回复 2018-11-25
?
流年4水0

Gson 检查是否有这个包。不一定要用gson也可以fastjson无非是传参返回值是json类型。

查看完整回答
反对 回复 2018-08-28

添加回答

回复

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信