A
A
Artem Fedorushchenko2016-10-12 01:04:05
Java
Artem Fedorushchenko, 2016-10-12 01:04:05

Deploy from Idea to Tomcat?

I'm trying to deploy a simple web application to Tomcat from under the idea. I practically did not work with the web, the fifth point is on fire.
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project testservice: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id ::layout::url parameter ->
As I understand it, studying the Internet, you need to set the target for deployment, to tomcat. Question - how to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2016-10-14
@cabron228

In my project, I collect a war file (actually a set of jars) and put it in a folder in tomcat, as written in the answer above. Those. it is not necessary to deploy to tomcat, as you write. Collect separately and put and run tomcat.

A
Alexey Cheremisin, 2016-10-12
@leahch

You need to put on a helmet and make a war file. Place it in the webapps directory of the tomcat server.
Well, in general, all the methods are here - https://tomcat.apache.org/tomcat-9.0-doc/deployer-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question