You should be able to remove the following:
<prerequisites>
<maven>2.2.1</maven>
</prerequisites>
We don't require it in M1, but might in 2.1 Final.
On Tue, Dec 1, 2009 at 4:02 AM, alex hlinski <[email protected]> wrote:
>
> I gues the main reason of problem with 'Duplicate java classes' is problem
> with Maven.
> I don't understand why Intellij Idea doesn't see Maven 2.2.1.
>
> from pom.xml:
>
> <prerequisites>
> <maven>2.2.1</maven>
> </prerequisites>
>
> I got message:
>
> ERROR] BUILD FAILED
> [ERROR] Unable to build project
> 'D:\development\Source\cartapestry01\pom.xml; it requires Maven version
> 2.2.1
>
> To view full stack traces, please go to the Settings->Maven and check the
> 'Print Exception Stack Traces' box.
>
> But i have correct version of Maven and correct settings in Idea.
>
> i try to change it to
>
> <prerequisites>
> <maven>2.0.8</maven>
> </prerequisites>
> or remove - nothing result.
>
> Sorry, my english isn't good ))
> --
> View this message in context:
> http://n4.nabble.com/Duplicate-class-found-after-compile-2-1-0-M1-tp788187p932026.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>