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;

解决

posted @ 2010-05-21 19:52  xngeer  阅读(1497)  评论(1)    收藏  举报