Maven project file error occurs after creation

+1 vote

Dec 20, 2020 in Software Testing by Boopathy
• 370 points
1,656 views

Hey, I have followed this steps, After that i had this problem as " ArtifactDescriptorException: Failed To read Artifact for JUnit" and How can be clear this Exception?

Hi,

You try the below steps once.

Go to your project -> maven -> update-project -> force to update snapshot/release -> OK.

Let us know if it is working or not.

Hey, I have followed this steps, but I have another problem occurs " FAILED TO TRANSFER: ERROR CODE 501 HTTP REQUIRED".

Hi,

If you have a plugin execution defined in your pom (like the execution of maven-ear-plugin:generate-application-xml), you also need to add additional config information for M2E that tells M2E what to do when the build is run in Eclipse, e.g. should the plugin execution be ignored or executed by M2E, should it be also done for incremental builds. If that information is missing, M2E complains about it by showing this error message.

1 answer to this question.

0 votes

Hey, @Boopathy,

Please be clear in explaining the problem you faced. Anyway I will demonstrate the steps in creating a maven project

  1. GoTo "File" --> "New" --> "Maven Project" . You will see the below window

enter image description here

  1. Click on "Next".You will see the below

enter image description here

  1. Now if you want a simple maven project choose "maven-archetype-quickstart" . If you want a webapp then choose "maven-archetype-webapp"(type "webapp" in search box and you should find it)

  2. Once you have made the selection , click on "next" . You will see the below

enter image description here

  1. For "GroupId" - Add your company/organization name For "ArtifactId" - Add your project name

  2. Click on "Finish"

Eclipse will now have no problem in creating a maven project for you.

Hope this helps!

Check out Manual testing full course in detail to learn more.

Thanks!

answered Dec 21, 2020 by Shreesha N

edited Jun 23, 2023 by Khan Sarfaraz

I could not find archetype where it is located but below errors are Arised

I want run a simple maven project. So I choosen "maven-archetype-quickstart" . But version specified as "RELEASE".

Hello, @Boopathy,

I had the same problem. I fixed it by adding the maven archetype catalog to eclipse. Steps are provided below: (Please note the https protocol)

  1. Open Window > Preferences
  2. Open Maven > Archetypes
  3. Click 'Add Remote Catalog' and add the following:

Related Questions In Software Testing

+2 votes
0 answers

"error": "unsupported_grant_type" is returned when sending post request with x-www-form-urlencoded

keywords.user_loads_a_Request("AdminLogin", CONFIG.getProperty("URI")+"api/login"); // Adminlogin file contains the ...READ MORE

Dec 17, 2019 in Software Testing by anonymous
• 140 points
1,170 views
+1 vote
0 answers

Write Assert fail differences to Excel or text file, Selenium C#

I am using selenium  with C# I have ...READ MORE

Feb 27, 2020 in Software Testing by Etl
• 170 points
1,286 views
+2 votes
2 answers

How to read data in Robot framework from excel file.

You can try run "py –m pip ...READ MORE

answered May 19, 2020 in Software Testing by anonymous
8,832 views
+2 votes
1 answer

Even after providing proper xpath for element on mobile applcation,it is not able to click on the button??

You could probably try using WebDriver driver; ...READ MORE

answered May 8, 2020 in Software Testing by Kim
1,516 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,041 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP