如何找出GWT(客户端)中缺少哪些Java类? [英] How to find out which Java classes are missing in GWT (client side)?

查看:75
本文介绍了如何找出GWT(客户端)中缺少哪些Java类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



由于GWT的客户端无法访问整个Java API,因此某些类无法找到。



不幸的是,编译器不会抱怨,因为J2EE包被包含在项目中(用于服务器端代码)。



现在,我如何才能找出客户端缺少哪些Java类(我的库需要)?
是否有列表或其他内容?

解决方案

此链接 GWT JRE Emulation Reference 显示您可以在客户端使用的类的列表。在那里有客户端库来添加缺少的小部件或功能到开箱即用的API。


I am trying to import a Java library into a GWT project.

Since the client-side of GWT does not have access to the whole Java API, some classes cannot be found.

Unfortunately, the compiler does not complain because the J2EE package is included into the project (for the server side code).

Now, how can I find out which Java classes, my library requires, are missing on client-side? Is there a list out there or something?

解决方案

This link GWT JRE Emulation Reference shows the list of the classes you can use on the client side. There are out there client libraries to add missing widgets or features to the out-of-the-box API.

这篇关于如何找出GWT(客户端)中缺少哪些Java类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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