开发者

GWT: stange import collision error in visualisation api

I'm attempting to add two charts to a gwt page using the visualization api, but for some strange and inexplicable reason, eclipse claims tha开发者_如何学Got the following two imports are colliding - which makes no sense to me.

In the methods where i am calling them, I have even tried using the fully qualified names, but that doesnt seem to help either. Any idea what may be going on ?

import com.google.gwt.visualization.client.visualizations.Table.Options;
import com.google.gwt.visualization.client.visualizations.LineChart.Options;


Fully qualifying one of the class names should work, or just importing LineChart and referencing LineChart.Options for example.

Can you post the code you used that didn't import both classes, maybe there was a problem there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜