The import com.google cannot be resolved
来源:互联网 发布:怎么查看端口是否开放 编辑:程序博客网 时间:2024/06/16 13:27
The import com.google cannot be resolved,报错:
第一感觉就是缺少jar包,因为项目用maven管理,所以在pom.xml中添加:
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.3.1</version>
</dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.3.1</version>
</dependency>
就解决了!
0 0
- The import com.google cannot be resolved
- The import com.google.common.base.Preconditions cannot be resolved
- [Android开发] The import com.google cannot be resolved解决方法
- The import com.google cannot be resolved解决方法
- The import com. cannot be resolved
- The import com... cannot be resolved解决方法
- The import com. cannot be resolved
- android开发: The import com.google cannot be resolved 的解决办法
- android开发: The import com.google cannot be resolved 的解决办法
- android开发: The import com.google cannot be resolved 的解决办法
- the import cannot be resolved
- The import ... cannot be resolved
- The import * cannot be resolved
- The import com.fjnetpower.zzjf.utils.BSPPWSUtil cannot be resolved
- The import com.sun.tools cannot be resolved
- The import com.ssh.service cannot be resolved
- The import com.XXX.xxx cannot be resolved
- The import javax.servlet cannot be resolved
- python 学习笔记之基础语法
- StringAndFinal
- java中的Map接口遍历方法总结
- java集合框架
- 递归获取某一目录下的所有文件
- The import com.google cannot be resolved
- 二元多项式
- 快看,这里有个简单的方法可以测某段代码的运行时间
- OpenGL粒子系统详解及编程实现
- 一个支持ListView的底部弹出控件 PopupWindow 小例子
- Linux 文件和目录的属性
- nginx uwsgi django supervisor 服务器配置
- 虚拟机CentOS 7无法上网提示线缆被拔出怎么办
- hadoop 出现 failed to create file because current leaseholder is trying to recreate file.