Maven with Adobe Flex

Posted on 2011-04-27
Medium Priority
Last Modified: 2012-05-11
Getting following Errors

\toolbars\Toolbar.as:[62,3] unable to resolve '/../assets/zoomIn.png' for transcoding

and C:\OpenDetectorView.mxml:[18,-1] Could not resolve <mx:Label> to a component implementation.

Following is my POM file.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"




Question by:MeenuNagpal
1 Comment
LVL 20

Accepted Solution

ChristoferDutz earned 2000 total points
ID: 35481353
Hi there ;-)

First of all, why do you specify the path to your assets with a path "/../assets"? The directory structure of my projects usually looks this way:


It uses the defaults that flexmojos uses. This way you should be able to reference a resource without the "/.."prefix. I had similar problems when using Maven 3.0.3 together with flexmojos4 and the solution was to explicitly reference the flexmojos-threadlocaltoolkit-wrapper before the compiler. I documented this in my wiki in the chapter "Things I reccomend to change" ... mabe this helps solving your problem: http://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+poms


Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
In the below post we have mentioned the best hosting type for startups. Also, check out some of the superlative web hosting companies that are proposing affordable web hosting solutions to host your startup website.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question