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: