[ 
https://issues.apache.org/jira/browse/FLEX-27706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598637#comment-13598637
 ] 

Christofer Dutz commented on FLEX-27706:
----------------------------------------

This was usually an issue with flexmojos, if this didn't contain the library to 
verify the licenses. It is not a FLEX releate issue and I would suggest to 
close it. 
                
> Using Flexmojos 4 and SDK4.5 on a charting project causes runtime exceptions
> ----------------------------------------------------------------------------
>
>                 Key: FLEX-27706
>                 URL: https://issues.apache.org/jira/browse/FLEX-27706
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Compiler
>    Affects Versions: Adobe Flex SDK 4.5 (Release)
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows 7
> Language Found: English
>            Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Create a pom using flexmojos 4.0-beta-7
> 2. Create a project with charting components
> 3. run mvn compile
>  
>  Actual Results:
> Exception is thrown because LicenseException is not on the classpath with the 
> OEM compiler.
> Caused by: org.apache.maven.plugin.MojoExecutionException: 
> java.lang.NoClassDefFoundError: flex2/compiler/LicenseException
>       at 
> org.sonatype.flexmojos.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:288)
>       at 
> org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:1649)
>       at 
> org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody0(CompcMojo.java:223)
>       at 
> org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody1$advice(CompcMojo.java:36)
>       at 
> org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody2(CompcMojo.java:217)
>       at 
> org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody3$advice(CompcMojo.java:14)
>       at 
> org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody4(CompcMojo.java:1)
>       at 
> org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody5$advice(CompcMojo.java:17)
>       at 
> org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute(CompcMojo.java:1)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>       ... 25 more
> Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: 
> flex2/compiler/LicenseException
>       at 
> org.sonatype.flexmojos.compiler.command.CommandUtil$2.uncaughtException(CommandUtil.java:61)
>       at java.lang.Thread.dispatchUncaughtException(Thread.java:1874)
> Caused by: java.lang.NoClassDefFoundError: flex2/compiler/LicenseException
>       at 
> org.sonatype.flexmojos.compiler.DefaultFlexCompiler$1.command(DefaultFlexCompiler.java:39)
>       at 
> org.sonatype.flexmojos.compiler.command.CommandUtil$1.run(CommandUtil.java:33)
>       at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException: flex2.compiler.LicenseException
>       at 
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>       at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>       at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>       ... 3 more
>  
>  
>  Expected Results:
>  
> Compile to succeed

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to