-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I have the variables included in eclipse and the dependencies in the
> pom. However I'm still having the same trouble. 

Have you checked that Eclipse really uses the correct jars in the
project settings under "Java Build Path->Libraries"? On my machine
(Eclipse 3.2M5) I see a blue ball besides every jar that is listed
there, and every entry begins with M2_REPO.

And can you check that M2_REPO is defined correctly in the global
classpath settings (Window->Preferences->Java->Build Path->Classpath
Variables)?


> By setting the classpath variable in the command prompt do mean adding
> the required jars to the CLASSPATH environment variable?

Yes.


> If so is there any way that maven can include the required jars in a lib
> folder when it packages the project as a jar? Or even just the specific
> classes it needs from the jars? 

Sorry, don't know. Perhaps Maven generates an entry in the created jar's
manifest...?


Regards

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

iD8DBQFD/0X4QvObkgCcDe0RAtJIAKCqnrB6Q7ZJEIRR70V6lkVIbBnq7wCeO2P6
aU9YK3dH+rw45aL/hzrYw/w=
=fiHq
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to