4thSpace
4thSpace

Reputation: 44312

How to find Spring version in Spring Tool Suite?

I can find which Java version Spring Tool Suite is using in Preferences. Where do I go to find the Spring version it is using?

Upvotes: 2

Views: 19067

Answers (3)

doctemp09
doctemp09

Reputation: 99

i tried with checking my pom.xml which did not had any information about the SpringVersion used.

However with the SpringVersion.getVersion() method i was able to figure out it was 5.2.5

Upvotes: 0

Max Alexander Hanna
Max Alexander Hanna

Reputation: 3873

Check the version of spring with this code !

import org.springframework.core.SpringVersion;

public class VersionChecker
{
    public static void main(String [] args)
    {
        System.out.println("version: " + SpringVersion.getVersion());
    }
}

Upvotes: 5

bichito
bichito

Reputation: 1426

The quickest is the maven/gradle configuration file. None of the IDE menus or Debug configurations state it explicitly

Upvotes: 4

Related Questions