The type List is not generic; it cannot …

The type List is not generic; it cannot be parameterized with arguments<QueryResult>

这是在ArcGIS Server ADF中加一个QueryTask时遇到的

编译时发现了这个错误,结果发现了

import java.awt.List;

这里竟然用了 awt的 List

修改为

import java.util.List;

解决

原文地址:https://www.cnblogs.com/frostbelt/p/1763133.html