I'm moving to FlexMojo's 4.0 (3.6 is awesome, but I need module
compilation and that seems to not work in 3.6).  I'm getting this
error on a codebase that worked in 3.6:

[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
plugin:4.0-SNAPSHOT:test-compile (default-test-com
pile) on project foo: java.lang.NoClassDefFoundError: flex2/tools/
Mxmlc -> [Help 1]

I saw this thread, which indicated that I may need to add a
dependency, but I couldn't figure out what the dependency was, and the
link not valid:
http://groups.google.com/group/flex-mojos/msg/fdc9abf13d306926?pli=1

Do I still need to add a dependency? I tried to figure out the
dependency and added this:
        <dependency>
            <groupId>org.sonatype.flexmojos</groupId>
            <artifactId>flexmojos-test-harness</artifactId>
            <version>${flexmojos.version}</version>
        </dependency>

But got the same result.

FWIW, I'm using:
        <dependency>
          <groupId>com.adobe.flexunit</groupId>
          <artifactId>flexunit</artifactId>
          <version>4.1-beta-2</version>
          <classifier>sdk35</classifier>
          <type>swc</type>
          <scope>test</scope>
        </dependency>

Thank You,

Michael Bushe
www.mindfulsoftware.com
www.eventbus.org

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to