我正在使用 GWT Eclipse 插件开发应用程序。(我也在使用 GWT Designer,但我认为问题不在这里)。以前,当我想要一个 Java 应用程序与我创建的 Web 服务进行通信时,我使用 Sun 的 wsimport 工具从 WSDL url 生成了“骨架”类。然后我会将生成的类添加到我的 Eclipse 项目中的类文件夹中。一切运作良好。
但是,这似乎不适用于 GWT。我有这些:
VideoTutorialServiceService service = new VideoTutorialServiceService();
VideoTutorialService port = service.getVideoTutorialServicePort();
我有VideoTutorialServiceService
并VideoTutorialService
用红色下划线,错误说videotutorialservice.VideoTutorialServiceService can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly.
....我用谷歌搜索了它,但我很困惑。我是 GWT 的初学者。请问我该如何解决?
谢谢和问候, Krt_Malta