All things are lawful, but not all things are profitable.
Knute Snortum wrote:Can you post your entire pom file? Thanks.
All things are lawful, but not all things are profitable.
Knute Snortum wrote:Is the command you're running mvn deploy? I have to ask if this is really what you want to do, since you don't have any deploy information in your pom file. Do you want to deploy your war file to a remote repository? Because if you want to add your war file to a local repository, then mvn install is all you need.
Ah, I just saw this comment:
You want to launch Tomcat so that you can type http://localhost:8080/manager/serviceName in the address of a browser, right? Try this command:
mvn tomcat7:run
or
mvn tomcat7:deploy
Wayan Saryada wrote:If you run maven from Terminal the command is:
But if you want to run from the Maven in IntelliJ IDEA, go to the Plugins section and expand the tomcat7 plugin. You will see the deploy command there (tomcat7:deploy).
The deploy that you run right now is the Deploy task of the Maven life cycle which will deploy the artifact / war file into a maven repository.
Wayan Saryada wrote:Anyway, because you are using spring boot for your project why not just use the embedded tomcat and run the project using `mvn spring-boot:run` instead?
All things are lawful, but not all things are profitable.
Knute Snortum wrote:I don't think Tomcat 8.5 is backwards compatible with 7.0 or even 8.0.
Mike London wrote:
Knute Snortum wrote:I don't think Tomcat 8.5 is backwards compatible with 7.0 or even 8.0.
I thought I read that people were successfully using the XML as Wayran shows below.
In any case, it's not working for me at all with Tomcat 8.5. I guess I'll just have to manually copy the file to Tomcat.
(Still get broken pipe errors)
Thanks for the help,
- mike
Wayan Saryada wrote:
Mike London wrote:
Knute Snortum wrote:I don't think Tomcat 8.5 is backwards compatible with 7.0 or even 8.0.
I thought I read that people were successfully using the XML as Wayran shows below.
In any case, it's not working for me at all with Tomcat 8.5. I guess I'll just have to manually copy the file to Tomcat.
(Still get broken pipe errors)
Thanks for the help,
- mike
I have just tried it on my machine, and it works. Have you copied the `settings.xml` into your `.m2` folder?
Wayan Saryada wrote:Here an example output when running the tomcat7:deploy.
One last thing, if you already have the same application deploy on the tomcat server you need to undeploy it first. If you deploy it again it can give your the connection error.
Wayan Saryada wrote:The `/manager/text/` is the URL address for the text interface. In the previous version it was just `/manager`.
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|