ITeye博客

Flex ant Task Problem

keren021 · 2011-10-18 17:34 · Web前端 · Flex · Markdown

原文路径:

http://stackoverflow.com/questions/1682705/flex-ant-task-problem

现象:

[mxmlc] java.lang.NoClassDefFoundError: flex2/tools/Compiler [mxmlc] Exception 
in thread "main" 

详细错误:

compile.main:
 dropping E:\c from path as it doesn't exist dropping 
E:\programs\flex-sdk\lib\mxmlc.jar from path as it doesn't exist 
[mxmlc] java.lang.NoClassDefFoundError: flex2/tools/Compiler  
[mxmlc] Exception in thread "main"    
[antcall] Exiting 
E:\svn\trunk\dev\modules\web\webapps\lpjserver\lpjserver-build.xml.
 BUILD FAILED 

sdk3.2 window版本缺陷,解决方案: 1)sdk和Flex工程位于同一分区。 2)将“FLEX_HOME/ant/lib/flexTasks.jar”文件拷贝到“ANT_HOME/lib”。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。