The classpaths may have changed to break just running mxmlc from the bin
directory.  I would recommend getting set up on FalconJX instead if you are
planning to contribute code going forward.  If you want to try to use
FalconJS for now, then use the FlexJSOverlay.zip as it sets up the classes
in the class path properly.


On 4/3/13 11:50 PM, "Tigran Najaryan" <tig...@gmail.com> wrote:

> I built FalconJS and then tried compiling the sample TestApp.as in the
> falcon/trunk/compiler.js/tests as described in the
> falcon/trunk/compiler.js/README. I get the following error output:
> 
> D:\WORK\Projects\ApacheFlex\repo\falcon\trunk\compiler.js\tests>"../bin/mxml
> c" TestApp.as -output TestApp.js
> Using Flex SDK: D:\WORK\Projects\ApacheFlex\repo\sdk\branches\develop
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/flex/compiler/clients/problems/ProblemFormatter
> Caused by: java.lang.ClassNotFoundException:
> org.apache.flex.compiler.clients.problems.ProblemFormatter
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: org.apache.flex.compiler.clients.MXMLJSC.
> Program will exit.
> 
> 
> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to