Flash 编译器不允许覆盖

发布于 2025-01-03 14:29:53 字数 962 浏览 1 评论 0原文

我被分配从事 Java/Flash/BlazeDS 项目。当我下载项目代码时,我需要运行 Ant 脚本作为设置的一部分。该脚本最终编译 Flash 代码,如下所示。

<exec executable='"@{sdk}/bin/mxmlc.exe"' failonerror="true" >
    //A bunch of <arg> tags
</exec>

上面使用的sdk属性指向我们公司要求我们使用的一个公共文件夹。该路径以 /sdks/4.1.0 结尾。

此 Ant 脚本因以下错误而失败。

Method marked override must override another method.
override public function getPropertyType(propertyName:String):String

出现错误的类扩展 AbstractEntityMetadata,根据 API,它确实有一个 getPropertyType 函数。但看起来它可能已添加到“Adobe Digital Enterprise Platform Data Services for Java EE 4.5”中。

我猜测应该归咎于 /sdks/4.1.0 。但是,我将 sdk 路径指向 FlashBuilder 4.5 的 /sdks/4.5.1 目录,但仍然遇到相同的错误。

有人知道发生了什么事吗?

I have been assigned to work on a Java/Flash/BlazeDS project. When I pull down the project code, I need to run an Ant script as part of the setup. This script eventually compiles the Flash code, as seen below.

<exec executable='"@{sdk}/bin/mxmlc.exe"' failonerror="true" >
    //A bunch of <arg> tags
</exec>

The sdk attribute used above points to a common folder that our company requires us to use. The path ends in /sdks/4.1.0.

This Ant script is failing on the following error.

Method marked override must override another method.
override public function getPropertyType(propertyName:String):String

The classes that are having the error extend AbstractEntityMetadata, which according to the API, does indeed have a getPropertyType function. But it looks like it might have been added in "Adobe Digital Enterprise Platform Data Services for Java EE 4.5".

I am guessing that the /sdks/4.1.0 is to blame. However, I pointed the sdk path to my FlashBuilder 4.5's /sdks/4.5.1 directory, and I still get the same errors.

Does anyone have an idea of what's going on?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光与爱终年不遇 2025-01-10 14:29:53

将您的 libs\ Fiber.swc 文件替换为更新版本。您可以使用 FlashBuilder 的 eclipse\plugins\com.adobe.flexbuilder.project_4.5.1.313231\fibreSwcs\4.5\libs 文件夹中的那个。

Replace your libs\fiber.swc file with a newer version. You could use the one in your FlashBuilder's eclipse\plugins\com.adobe.flexbuilder.project_4.5.1.313231\fiberSwcs\4.5\libs folder.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文