如何找出GWT(客户端)中缺少哪些Java类?

编程入门 行业动态 更新时间:2024-10-18 22:30:30
本文介绍了如何找出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类?

本文发布于:2023-11-09 20:54:02,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:客户端   GWT   Java

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!