欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Flex ant Task Problem flex 

程序员文章站 2022-06-06 15:09:38
...
原文路径:
http://*.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”。
相关标签: flex