All of sudden build failing in FLEX -Problem: failed to create task or type mxmlc
I upgraded JAVA version and after that all of a sudden FLEX project stopped compiling. It started throwing following errors:
C:\workspace\CSB_d3csb52\Source\build.xml:93: Problem: failed to create task or type mxmlc Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place.
I spend quite a time fixing this issue, so decided to put it here so that some one else might find it and save time -I found two reasons at two different occasion for this:
Posted on September 3, 2012, in Flex and tagged flex compile, flex ide. Bookmark the permalink. 2 Comments.
Thanks Chandan! This post helped me get over this problem in less than a minute.
Hi, Facing same issue but not on flex ide , it is happening on Jenkins build, can some one help me to resolve the error?
12:50:52 BUILD FAILED
12:50:52 /var/lib/jenkins/workspace/HOM_UI_To-Q1N1-175/hom/homr2/build.xml:166: Problem: failed to create task or type mxmlc
12:50:52 Cause: The name is undefined.
12:50:52 Action: Check the spelling.
12:50:52 Action: Check that any custom tasks/types have been declared.
12:50:52 Action: Check that any / declarations have taken place.