Skip to main content

Posts

Showing posts with the label FlexMojos

MojoExecutionException: TargetPlayer and playerglobal dependency version doesn't match

If you get this error while compiling Flex modules using Maven, then you just need to exclude playerGlobal dependancy: <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex.version}</version> <type>pom</type> <exclusions> <exclusion> <groupId>com.adobe.flex.framework</groupId> <artifactId>playerglobal</artifactId> </exclusion> </exclusions> </dependency>

TeamCity fails running FlashUnit tests with "socket write error"

Error log: Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.9:test-run (default-test-run) on project Project1: Software caused connection abort: socket write errorC:\TeamCity\buildAgent\work\Project1\src\main\test\target\test-classes\TestRunner.swf This error is caused due to Flash Player's 9+ security configurations. Solution: The TeamCity agent should be installed as a domain user and not as SYSTEM user. Uninstall TeamCity agent and try reinstalling agent as domain user. If this does not work, then reinstall server also as domain user.