You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pierre Jacquot <ja...@gmail.com> on 2006/04/05 15:47:53 UTC

problem with mvn command

when I use one of the mvn commands i have this error message, no action have
be donne after and after.
>mvn
Exception in thread "main" java.lang.NoClassDefFoundError: Xmx256m


where the problem is and how resolve it ?

Re: problem with mvn command

Posted by Pierre Jacquot <ja...@gmail.com>.
thanks for your help, mvn works now.

2006/4/5, Thorsten Heit <th...@xtramind.com>:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> > when I use one of the mvn commands i have this error message, no action
> have
> > be donne after and after.
> >> mvn
> > Exception in thread "main" java.lang.NoClassDefFoundError: Xmx256m
> >
> >
> > where the problem is and how resolve it ?
>
> Sounds as if you're using MAVEN_OPTS in your environment variables...?
>
> If yes: Check whether there's a minus sign before Xmx256m, i.e. "-Xmx256m"
>
>
> Regards
>
> Thorsten
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (MingW32)
>
> iD8DBQFEM8tSQvObkgCcDe0RAnUYAKD0IjWsbEvNVrIDS6AVqXJKA7m2UQCeMa81
> Vwvx+wg2sHVJOIvKgJRFnds=
> =m1nH
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: problem with mvn command

Posted by Thorsten Heit <th...@xtramind.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> when I use one of the mvn commands i have this error message, no action have
> be donne after and after.
>> mvn
> Exception in thread "main" java.lang.NoClassDefFoundError: Xmx256m
> 
> 
> where the problem is and how resolve it ?

Sounds as if you're using MAVEN_OPTS in your environment variables...?

If yes: Check whether there's a minus sign before Xmx256m, i.e. "-Xmx256m"


Regards

Thorsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEM8tSQvObkgCcDe0RAnUYAKD0IjWsbEvNVrIDS6AVqXJKA7m2UQCeMa81
Vwvx+wg2sHVJOIvKgJRFnds=
=m1nH
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org