It does work on maven 2.0.9 and on 2.2.1, so I assume there is
something else going on there.

VELO

On Dec 11, 4:53 pm, Rick R <[email protected]> wrote:
> I ran this to build a modular-webapp and answered the prompts:
>  mvn archetype:generate 
> -DarchetypeRepository=http://repository.sonatype.org/content/groups/flexgroup-DarchetypeGro...
> -DarchetypeArtifactId=flexmojos-archetypes-modular-webapp
> -DarchetypeVersion=3.4.2
>
> Than ran 'mvn clean install'
>
> Which ends up triggering this error shown at the end of this email.
>
> Quick, off topic question, that I know I should ask on the maven list, but
> has me frustrated. At one point everything for my modular-webapp project
> built fine, my entire project was building great locally. I then had a
> coworker check it out and when he ran mnv clean install he ended up with the
> error shown below. So this had me stumped since it was working fine for me
> locally. I said "ok let me back up my local repo and see what happens." Sure
> enough I then got the same error. So the question is what happens along the
> way that causes this kind of situation??? It's very frustrating and not the
> first time it's happened to me when working with maven. Shouldn't there be a
> way that maven when doing an install can check that at least the required
> dependencies are met based on the pom repo definitions? I don't want it
> traversing the entire tree though, only what's needed for the project.
>
> Here's the error:
>
> [FATAL ERROR] Container realm = plexus.core
> urls[0] = file:/Users/rick/java/maven/lib/maven-2.1.0-M1-uber.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] org/jdom/input/SAXBuilder
> org.jdom.input.SAXBuilder
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
>         at
> org.sonatype.flexmojos.utilities.FDKConfigResolver.getConfig(FDKConfigResolver.java:95)
>         at
> org.sonatype.flexmojos.utilities.FDKConfigResolver.getFontManagers(FDKConfigResolver.java:118)
>         at
> org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.configure(AbstractFlexCompilerMojo.java:1352)
>         at
> org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.setUp(AbstractFlexCompilerMojo.java:1044)
>         at
> org.sonatype.flexmojos.compiler.LibraryMojo.setUp(LibraryMojo.java:204)
>         at
> org.sonatype.flexmojos.AbstractIrvinMojo.execute(AbstractIrvinMojo.java:178)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:458)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:676)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:538)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:517)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:369)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:330)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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: java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
>         at
> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>         at
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>         at
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>         at
> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)

-- 
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://blog.flex-mojos.info/

Reply via email to