在GWT中没有Scribe的源代码 [英] No source code available for Scribe in GWT

查看:125
本文介绍了在GWT中没有Scribe的源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 没有源代码可用于类型org.scribe .oauth.OAuthService;你忘了继承一个必需的模块吗? 

我在我的war / WEB-INF / lib中包含了scribe .jar文件,导入它。也许我必须将它添加到app_name.gwt.xml中?我试过这样做,但Scribe不包含任何.gwt.xml文件。

解决方案

我使用Scribe并没有问题。但它是一个服务器端库。您的GWT代码中应该没有对它的引用。


I'm getting this error trying to Compile my GWT Project:

No source code is available for type org.scribe.oauth.OAuthService; did you forget to inherit a required module?

I have included the scribe .jar file in my "war/WEB-INF/lib", and imported it. Maybe I have to add it to the app_name.gwt.xml? I have tried to do it, but Scribe does not contains any .gwt.xml file.

解决方案

I use Scribe with no problems. But it's a server-side library. You should have no references to it in your GWT code.

这篇关于在GWT中没有Scribe的源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆