I have a maven project created with maven-archetype-webapp. As i use on Windows machine, the project generated by Maven has a “Run on Server” but when i create it on Linux machine, it doesnt have. Please tell me how can i enable it.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have the same problem. I think it is a bug in the M2Eclipse plugin that often appears (but I still don’t know what are the conditions of this bug).
When M2Eclipse creates the Eclipse project, it doesn’t associate the project with the “web nature”. I have a solution, which is not very clean but it works.
PS: after updating the config files, you’ll have to close/open your project to update the configuration.
If someone has a better solution, I am interested too !