Maven project file error occurs after creation

+1 vote

Dec 19, 2020 in Software Testing by Boopathy
• 370 points
167 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.

answered Dec 21, 2020 by Shreesha N

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
496 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
474 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
4,446 views
+2 votes
1 answer
+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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,257 views
+2 votes
1 answer