Spring Tool Suite 4 how to change deployment server

Viewed 210

How to change deployment server for project in spring tool suite 4 eclipse to another A.S. like another tomcat outside embembed tomcat?

So I have dowloaded Spring Tool Suite package pre installed in eclipse from here and followed a basic tutorial to start building a maven REST webservice app. Everything works very well, I have well builded project structure, connects to Postgres DB... etc.

Later I noticed that this app runs on an internal tomcat server in this development "pack", meaning there are no servers displayed.

enter image description here

I tried to add to eclipse the latest tomcat server ( 10 at the time ) but my project doesn´t show up to add.

enter image description here

enter image description here

Spring Tool Suite 4

1 Answers

You need to override the properties in the parent pom.xml .

<properties>
......
    <tomcat.version>10.0.11</tomcat.version>
......
<properties>

This link can be helpful in your case .

Related