Do we have spring-beans-5.1.xsd, spring-context-5.1.xsd, spring-mvc-5.1.xsd or spring-beans-5.0.xsd, spring-context-5.0.xsd, spring-mvc-5.0.xsd

user1179752 :

Can anyone please let me if the spring 5 version of xsd's are available? if so please provide the links to the xsd's Also can anyone let me compatible version of spring-security for spring-5?

Anish B. :

Just refer to this question - Spring configuration XML schema: with or without version? -> for spring-beans XSD clarification.

Go to https://mvnrepository.com and from there you will get all the version of spring.

Select a desired spring version and add the jar or copy maven dependency(pom.xml) in your project..

Follow this steps for Spring 5.0.2:

If maven project, then add :

<dependencies>
  <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-web</artifactId>
    <version>5.0.0.RELEASE</version>
  </dependency>

  <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-config</artifactId>
    <version>5.0.0.RELEASE</version>
  </dependency>

  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-webmvc</artifactId>
    <version>5.0.2.RELEASE</version>
  </dependency>

  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-orm</artifactId>
    <version>5.0.2.RELEASE</version>
  </dependency>
</dependencies>

in the pom.xml

Or if its non- maven project, then download jar from https://mvnrepository.com and add the appropriate spring jars needed in your project.

Another thing you can do -

Download - https://repo.spring.io/release/org/springframework/spring/ - download Spring 5.0.2 zip and extract it and add all the jars to your project.

  • Thanks :)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=110542&siteId=1