一开始没导入包,利用eclipse的快捷纠错后自动导入了
import java.awt.List;这个包,还是报错,出现了如题的提示。
根据博主NDK-baozi的文章,将awt换成util就好了,也就是改成
import java.util.List;

The type List is not generic相关推荐

  1. Java---报错The type List is not generic; it cannot be parameterized with arguments <Role>==List打包错误

    提示The type List is not generic; it cannot be parameterized with arguments 错误. 翻译:类型列表不是泛型:不能用参数参数化它 ...

  2. Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E>

    1 java 报错如下 Type safety: The method add(Object) belongs to the raw type List. References to generic ...

  3. The type List is not generic; it cannot …

    The type List is not generic; it cannot be parameterized with arguments<QueryResult> 这是在ArcGIS ...

  4. 列表自定义的Type和BaseType参考

    我们在自定义列表的时侯,需要输入两个重要的参数"Type"和"BaseType",以下是这两个参数值参考: Type: Value   Description ...

  5. [Unity] 播放 Generic Animation 导致无法移动的解决办法:在 Animator 中勾选 Apply Root Motion

    我在使用 Animation Type 为 Humanoid 的 Animation 的时候是一切正常的 但是,自从因为 Humanoid 会导致手腕错误旋转问题,把 Animation Type 改 ...

  6. PEP 484 – Type Hints

    PEP 484 – Type Hints PEP 484 – 类型提示 原文地址:https://www.python.org/dev/peps/pep-0484/ PEP: 484 Title: T ...

  7. 与C#中的typedef等效

    本文翻译自:Equivalent of typedef in C# Is there a typedef equivalent in C#, or someway to get some sort o ...

  8. c#v2.0 扩展特性 翻译(1)

    c#v2.0 扩展特性 翻译(1) Introduction to C# 2.0 C# 2.0 introduces several language extensions, the most imp ...

  9. Spring.NET实用技巧3——NHibernate分布式事务(上)

    在使用NHibernate作为持久层框架时,多数据库操作是一个比较难解决的问题.并且很多网友在给我发的eamil中经常谈到此问题.由于NHibernate是一种框架,不能像ADO.NET那样直接用SQ ...

最新文章

  1. 行业 | 数据团队该为公司的AI转型负责吗?花五分钟时间换个答案
  2. muduo之BlockingQueue
  3. ogg 11.2 for mysql_配置ogg异构mysql-oracle 单向同步
  4. python中哪些词是敏感字词_python实现敏感词过滤的几种方法
  5. SAP R/3系统的R和3分别代表什么含义,负载均衡的实现原理 1
  6. 搭搭机器人科技活动中心怎么样_搭搭乐乐机器人怎么样?感受科技创收力量
  7. FreeRTOS学习及移植笔记之一:开始FreeRTOS之旅
  8. Mybatis中(#{ })模糊查询like(使用oracle的concat函数嵌套拼接SQL)
  9. linux定时执行一个脚本
  10. Docker 监控- Prometheus VS Cloud Insight
  11. Centos 7 下配置codeblocks13.12的googletest单元测试环境
  12. 简单实用的 Ubuntu 快捷键
  13. matlab中单独存图_matlab中仅保存plot部分(除去空白)和图像的叠加
  14. 从全息投影到全息平台,必须克服7个障碍
  15. [翻译] TensorFlow 分布式之论文篇 “TensorFlow : Large-Scale Machine Learning on Heterogeneous Distributed Syst
  16. OpenWRT下使用dnspod解析动态域名
  17. IOS唤起键盘,移动端页面放大
  18. Verilog消除毛刺
  19. nacos的命名空间
  20. html简单的文字自动出现效果,8个华丽的HTML5文字动画特效赏析

热门文章

  1. 算法入门开灯问题,新做法
  2. 附加数据库失败:错误:5120
  3. Linux学习之三——操作档案与目录
  4. 2.13 break和continue
  5. (mysql) EXPLAIN语法
  6. iOS 序列化与反序列化
  7. 问题小结(6)-listview滚动条相关
  8. c++学习笔记之多文件操作
  9. 浅谈ICA算法的概念、本质和流程
  10. Pytho学习笔记:电子邮件1