I try to use flex-mojos but I have a problem.
"Could not resolve <s:Application> to a component implementation"
Can you help me?
Thank you very much, Alexis
Here is my trace:
[INFO]
------------------------------------------------------------------------
[INFO] Building flex2 Flex
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory C:\workspaces\arexo\etimesheet\backend
\flex2\target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] [flexmojos:compile-swf {execution: default-compile-swf}]
[INFO] Flexmojos 3.6-SNAPSHOT
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT
file
[WARNING] Source file was not defined, flexmojos will guess one.
[INFO] Flex compiler configurations:
-compiler.external-library-path C:\workspaces\arexo\etimesheet\backend
\flex2\tar
get\classes\libraries\playerglobal.swc
-compiler.include-libraries=
-compiler.library-path=
-compiler.accessible=false
-compiler.allow-source-path-overlap=false
-compiler.as3=true
-compiler.debug=false
-compiler.es=false
-compiler.fonts.local-fonts-snapshot C:\workspaces\arexo\etimesheet
\backend\flex
2\target\classes\fonts.ser
-compiler.keep-generated-actionscript=false
-licenses.license flexbuilder3 xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
-compiler.locale en_US
-compiler.optimize=true
-compiler.source-path C:\workspaces\arexo\etimesheet\backend\flex2\src
\main\flex
-compiler.strict=true
-use-network=true
-compiler.verbose-stacktraces=false
-compiler.actionscript-file-encoding UTF-8
-target-player 10.0.22
-default-background-color 8821927
-default-frame-rate 24
-default-script-limits 1000 60
-default-size 500 375
-compiler.headless-server=false
-compiler.keep-all-type-selectors=false
-compiler.use-resource-bundle-metadata=true
-metadata.date Wed Feb 17 23:24:29 GMT-12:00 2010
-metadata.localized-title flex2 Flex x-default
-verify-digests=true -static-link-runtime-shared-libraries=false -load-
config=
-metadata.language+=en_US
[ERROR] C:\workspaces\arexo\etimesheet\backend\flex2\src\main\flex
\Main.mxml:[6,
-1] Could not resolve <s:Application> to a component implementation.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error compiling!
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
compiling!
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:719)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:535)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
compiling!
at
org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.build(Abstra
ctFlexCompilerMojo.java:2487)
at
org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.run(Abstract
FlexCompilerMojo.java:1280)
at
org.sonatype.flexmojos.AbstractIrvinMojo.execute(AbstractIrvinMojo.ja
va:183)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
... 17 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 15 seconds
[INFO] Finished at: Wed Feb 17 23:24:30 GMT-12:00 2010
[INFO] Final Memory: 22M/40M
[INFO]
------------------------------------------------------------------------
--
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?hl=en?hl=en
http://flexmojos.sonatype.org/