java - Building Eclipse Project With Maven -


I follow the following from a tutorial on a racing web service. Are there Spring Framework dependencies, instead of downloading binaries and entering it in the lib dir, I pom.xml in

  & lt ;? Xml contains a dependency version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Project xmlns = "http://maven.apache.org/POM/4.0.0" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schema location = "http: / /maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> & Lt; ModelVersion & gt; 4.0.0 & lt; / ModelVersion & gt; & Lt; Group & gt; Com.concretepage & lt; / Group & gt; & Lt; ArtifactId & gt; Spring4 & lt; / ArtifactId> & Lt; Version & gt; 1 & lt; / Edition & gt; & Lt; Packaging & gt; War & lt; / Packaging & gt; & Lt; Parents & gt; & Lt; Group & gt; Org.springframework.boot & lt; / Group & gt; & Lt; ArtifactId & gt; Spring-boot starter parents & lt; / ArtifactId> & Lt; Version & gt; 1.1.1.RELEASE & lt; / Edition & gt; & Lt; / Parent & gt; & Lt; Dependency & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.springframework & lt; / Group & gt; & Lt; ArtifactId & gt; Spring Reference & lt; / ArtifactId> & Lt; Version & gt; 4.0.3.RELEASE & lt; / Edition & gt; & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.springframework.boot & lt; / Group & gt; & Lt; ArtifactId & gt; Spring-boot starter-web & lt; / ArtifactId> & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Com.fasterxml.jackson.core & lt; / Group & gt; & Lt; ArtifactId & gt; Jackson-DataBind & lt; / ArtifactId> & Lt; / Dependencies & gt; & Lt; / Dependencies & gt; & Lt; / Project & gt;  

When I pom.xml - Run & gt; Right click on Maven Build gives me the following error in the console

>

Enter image details here

[Error] No goal is specified for this build. You must specify a target in a valid lifecycle phase or format: or: [:]:. Available lifecycle steps are: Valid, Start, Generate-Source, Process-Source, Generate-Resource, Process-Resource, Compile, Process-Classes, Generate-Test-Source, Process-Test-Source, Generate-Test-Processing, Process Test-resource, test-compile, process-test class, test, ready-package, package, pre-integration-test, integration-test, post-integration-test, verification, install, deploy, pre-clean, clean, post T-clean, pre-site, site, post-site, site-deployed.

I have no previous experience in the construction mechanism of Java (Ent, Maven, Grendel etc.). How can I successfully write a war file from Tata I can make

Regards

Normally you have to first run & gt; Creating a build configuration for the project before selecting the Maven Build builds a build configuration basically means that how Maven targets should be executed during a build.

To do this, you need to do the following:

  • Run & gt; Maven builds ...
  • Give the build configuration a name in the window that appears, and then determine which target should be run (enough standard targets clean install - as shown) Enter image details here
  • Apply Click and then run - it will close the window and execute the build

Now when run & gt; Maven Build This configuration will be selected by default.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -