开发者

What module do I need to import to use Anchor class in GWT?

开发者 https://www.devze.com 2023-04-12 17:57 出处:网络
I find that when I add开发者_StackOverflow the following line to my custom GWT widget @UiField Anchor header;

I find that when I add开发者_StackOverflow the following line to my custom GWT widget @UiField Anchor header;

I get a missing module error. I can't find documentation anywhere on what modules contain what. Can someone shed some light on what module I need to import to make this work?


The Anchor is in base module, so if you have access to other GWT classes you should have access to it as well. So maybe you should check whether you haven't accidentally imported Anchor from other package. GWT Anchor should be from com.google.gwt.user.client.ui

0

精彩评论

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

关注公众号