Flex Web 层设置 [英] Flex Web-Tier Setup

查看:20
本文介绍了Flex Web 层设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题已经让我发疯了好几天,我试过谷歌但没有运气(从我在谷歌上找到答案的运气来看,这对我来说没有找到答案是罕见的).

This one has been driving me nuts for a few days now and I've tried Google but no luck (judging from my good luck with finding answers on google, this is a rarity for me not to find an answer).

长话短说,我确实能够通过本地机器上的浏览器编译我的 mxml 文件.我不得不重新安装,但现在我在尝试编译时遇到了问题.

To cut a long story short, I did have the capability to compile my mxml files via the browser on my local machine. I've had to do a reinstall but now I'm having problems trying to compile.

我目前的设置是:

WAMP 2.0i
- Apache 2.2.8
- PHP 5.2.8
- MySQL 5.1.36

WAMP 2.0i
- Apache 2.2.8
- PHP 5.2.8
- MySQL 5.1.36

FlashDevelop 3.0.0 RC1
赢经验

FlashDevelop 3.0.0 RC1
Win XP

我试过在 Firefox 3.5、IE8 & 中编译Chrome 但都收到相同的错误:

I've tried compiling in Firefox 3.5, IE8 & Chrome but all receive the same error:

编译结果

在编译 null 时发现错误、警告或异常.请访问在线 Flex 文档或 API 参考以获取更多信息.

Errors, warnings or exceptions were found while compiling null.Visit the online Flex documentation or API reference for further information.

服务器发生错误.服务器错误是:'服务器线程中发生错误;嵌套异常是:java.lang.NoSuchMethodError: flex.license.License.(Ljava/util/Map;Ljava/lang/String;Lflex/license/Logger;)V'

An error occured on the server. Server error is: 'Error occurred in server thread; nested exception is: java.lang.NoSuchMethodError: flex.license.License.(Ljava/util/Map;Ljava/lang/String;Lflex/license/Logger;)V'

我已按照 adobe 的说明进行操作:

I've followed the instructions from adobe:

http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS

但没有运气.我可以通过 CMD 编译而不会出现问题,但我更喜欢使用浏览器,因为我发现它要快得多.有没有人遇到过这个问题并解决了它?

but no luck. I can compile without an issue via CMD but I prefer to use the browser as I find that much faster. Has anyone run into this issue and solved it?

干杯!
天网

我忘了提到我试过使用 Flex 2 &3 SDK无用.

I forgot to mentioned I've tried using the Flex 2 & 3 SDK to no avail.

推荐答案

终于找到了答案!

有一台新电脑要工作,所以我不得不重新安装所有东西,我找到了完美无缺的解决方案.

Got a new pc for work so I had to reinstall everything and I've found the solution that worked flawlessly.

使用此链接下载超过 100MB 的 Adob​​e Flex SDK;忽略开源 Flex SDK 下载链接.在撰写本文时,我下载了 3.4.0.9271 版本:

Use this link to download the Adobe Flex SDK which is over 100MB; ignore the Open Source Flex SDK download links. At the time of writing, I downloaded version 3.4.0.9271:

http://opensource.adobe.com/wiki/display/flexsdk/下载+Flex+3

确保您按照安装说明直到安装 Flex 模块标题.

http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS#Installation

然后转到此页面,在主标题Flex 3 Compiler Modules 下,然后在子标题3.0.0.477 下,下载文件FlexModule_apache.exe 并按照安装说明进行操作,您应该可以无家可归了!

Then go to this page and under the main heading Flex 3 Compiler Modules then under the sub heading 3.0.0.477, download the file FlexModule_apache.exe and follow the installation instructions and you should be home free!

http://opensource.adobe.com/wiki/display/flexsdk/Downloads

这篇关于Flex Web 层设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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