Re: beginner to maven- problem with maven & eclipse!!

2007-07-11 Thread pinky88

Hi,

It's ok now , I got it sorted :) thanks!

Pinks



Thorsten Heit-3 wrote:
> 
> Hi,
> 
>> Thanks very much for the reply :),
>>  
>> I've added this now, but it hasn't solved the problem..
> 
> What exact error message(s) do you get?
> 
> 
>> However i noticed something, when i started up eclipse, i got a warning
>> saying "Mylyn was installed but requires Java 5 or later to run, Please
>> download and install the latest Java version and restart".
>> 
>> The thing is, I have Java 6.. Have I to do something to have this
>> compatible
>> with eclipse or something Probably a completely stupid question but I
>> really don't know.. and maybe that's what's causing the problem..
> 
> Obviously you have another JDK installed on your machine that is used as
> default JVM. Open a terminal and see what "java -version" shows...
> 
> 
> HTH
> 
> Thorsten
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/beginner-to-maven--problem-with-maven---eclipse%21%21-tf4059062s177.html#a11549371
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: beginner to maven- problem with maven & eclipse!!

2007-07-11 Thread Thorsten Heit
Hi,

> Thanks very much for the reply :),
>  
> I've added this now, but it hasn't solved the problem..

What exact error message(s) do you get?


> However i noticed something, when i started up eclipse, i got a warning
> saying "Mylyn was installed but requires Java 5 or later to run, Please
> download and install the latest Java version and restart".
> 
> The thing is, I have Java 6.. Have I to do something to have this
> compatible
> with eclipse or something Probably a completely stupid question but I
> really don't know.. and maybe that's what's causing the problem..

Obviously you have another JDK installed on your machine that is used as 
default JVM. Open a terminal and see what "java -version" shows...


HTH

Thorsten

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



Re: beginner to maven- problem with maven & eclipse!!

2007-07-10 Thread pinky88

Thanks very much for the reply :),
 
I've added this now, but it hasn't solved the problem..

However i noticed something, when i started up eclipse, i got a warning
saying "Mylyn was installed but requires Java 5 or later to run, Please
download and install the latest Java version and restart".

The thing is, I have Java 6.. Have I to do something to have this compatible
with eclipse or something Probably a completely stupid question but I
really don't know.. and maybe that's what's causing the problem..

Thanks,
Karen

Thorsten Heit-3 wrote:
> 
> Hi,
> 
>> hi, i'm very new to maven, i'm trying to create a servlet using  
>> maven &
>> eclipse to deploy on the tomcat container. However when i tried to  
>> import my
>> maven project into eclipse, i got the following errors:
>>
>>
>> unbound classpath variable
>> unbound classpath container
>> the project cannot be built until classpath errors are resolved.
>>
>> does anyone know what i may have done wrong?
> 
> The first message should come from your project's .classpath file  
> that is using the variable M2_REPO for specifying the location of  
> some jar files in your local Maven repository. Check if M2_REPO is  
> defined in your Eclipse configuration (Preferences -> Java -> Build  
> Path -> Classpath variables). If it is not listed there, you should  
> add it by executing "mvn -Declipse.workspace=  
> eclipse:add-maven-repo" ([1]).
> 
> Perhaps this already solves your other problem. If not, you can try  
> "mvn eclipse:clean eclise:eclipse" (see also [2]) to recreate the  
> project configuration files for Eclipse.
> 
> 
> [1] http://maven.apache.org/plugins/maven-eclipse-plugin/usage.html
> [2] http://maven.apache.org/plugins/maven-eclipse-plugin/
> 
> 
> HTH
> 
> Thorsten
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/beginner-to-maven--problem-with-maven---eclipse%21%21-tf4059062s177.html#a11532311
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: beginner to maven- problem with maven & eclipse!!

2007-07-10 Thread Thorsten Heit

Hi,

hi, i'm very new to maven, i'm trying to create a servlet using  
maven &
eclipse to deploy on the tomcat container. However when i tried to  
import my

maven project into eclipse, i got the following errors:


unbound classpath variable
unbound classpath container
the project cannot be built until classpath errors are resolved.

does anyone know what i may have done wrong?


The first message should come from your project's .classpath file  
that is using the variable M2_REPO for specifying the location of  
some jar files in your local Maven repository. Check if M2_REPO is  
defined in your Eclipse configuration (Preferences -> Java -> Build  
Path -> Classpath variables). If it is not listed there, you should  
add it by executing "mvn -Declipse.workspace=  
eclipse:add-maven-repo" ([1]).


Perhaps this already solves your other problem. If not, you can try  
"mvn eclipse:clean eclise:eclipse" (see also [2]) to recreate the  
project configuration files for Eclipse.



[1] http://maven.apache.org/plugins/maven-eclipse-plugin/usage.html
[2] http://maven.apache.org/plugins/maven-eclipse-plugin/


HTH

Thorsten


PGP.sig
Description: Signierter Teil der Nachricht