Flash 编译器不允许覆盖
我被分配从事 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将您的
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'seclipse\plugins\com.adobe.flexbuilder.project_4.5.1.313231\fiberSwcs\4.5\libs
folder.