This is the stack trace
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:
141)
... 20 more
Caused by: java.lang.UnsupportedClassVersionError: Bad version number
in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:
386)
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:
42)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:
244)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:
230)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.sonatype.flexmojos.plugin.common.ApparatLog.ajc$before
$org_sonatype_flexmojos_plugin_common_ApparatLog
$1$bef8f336(ApparatLog.aj:17)
at
org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody2(CompcMojo.java:
215)
at
org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute_aroundBody3$advice(CompcMojo.java:
17)
at
org.sonatype.flexmojos.plugin.compiler.CompcMojo.execute(CompcMojo.java:
1)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:
105)
... 20 more
On Jul 16, 11:11 am, Jorge Fiallega <[email protected]> wrote:
> Thanks, that worked.
> Today I am getting this error after an update of the repository
>
> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
> plugin:4.0-SNAPSHOT:compile-swc (default-compile-swc) on project swc:
> Execution default-compile-swc of goal org.sonatype.flexmojos:flexmojos-
> maven-plugin:4.0-SNAPSHOT:compile-swc failed: An API incompatibility
> was encountered while executing org.sonatype.flexmojos:flexmojos-maven-
> plugin:4.0-SNAPSHOT:compile-swc:
> java.lang.UnsupportedClassVersionError: Bad version number in .class
> file.
>
> I tried cleaning my repository but the error still persists.
>
> On Jul 12, 5:40 pm, Marvin Froeder <[email protected]> wrote:
>
>
>
> > Nuke your local repository and try again.
>
> > On Mon, Jul 12, 2010 at 6:18 PM,
> > JorgeFiallega<[email protected]>wrote:
>
> > > I have been able to compile all good until today. When I tried to do a
> > > build I get the following:
>
> > > 1 required artifact is missing.
>
> > > for artifact:
> > > org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:
> > > 4.0-20100709.205308-146
>
> > > from the specified remote repositories:
> > > ...
> > > [ERROR] Unknown packaging: swf
>
> > > Are we aware of any issues in the latestsnapshot?
>
> > > --
> > > 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]<flex-mojos%2bunsubscr...@googlegrou
> > > ps.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/flex-mojos
>
> > >http://flexmojos.sonatype.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/