1.spring boot全局配置文件application.properties
#spring boot的全局配置文件,可以对一些默认配置的配置值进行修改 #默认为8080 server.port=9090 #默认为/ server.context-path=/molianzhonglong
2.starter pom
以下来源于:http://docs.spring.io/spring-boot/docs/1.5.3.BUILD-SNAPSHOT/reference/htmlsingle/
Spring Boot application starters
Starter for building MVC web applications using Thymeleaf views |
||
Starter for using Couchbase document-oriented database and Spring Data Couchbase |
||
Starter for JMS messaging using Apache Artemis |
||
Starter for using Spring Web Services |
||
Starter for using Java Mail and Spring Framework’s email sending support |
||
Starter for using Redis key-value data store with Spring Data Redis and the Jedis client |
||
Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container |
||
Starter for using GemFire distributed data store and Spring Data GemFire |
||
Starter for JMS messaging using Apache ActiveMQ |
||
Starter for using Elasticsearch search and analytics engine and Spring Data Elasticsearch |
||
Starter for using Spring Integration |
||
Starter for testing Spring Boot applications with libraries including JUnit, Hamcrest and Mockito |
||
Starter for using JDBC with the Tomcat JDBC connection pool |
||
Starter for building web applications using Spring Mobile |
||
Starter for using Java Bean Validation with Hibernate Validator |
||
Starter for building hypermedia-based RESTful web application with Spring MVC and Spring HATEOAS |
||
Starter for building RESTful web applications using JAX-RS and Jersey. An alternative to |
||
Starter for using Neo4j graph database and Spring Data Neo4j |
||
Starter for using Spring Data LDAP |
||
Starter for building WebSocket applications using Spring Framework’s WebSocket support |
||
Starter for aspect-oriented programming with Spring AOP and AspectJ |
||
Starter for using Spring AMQP and Rabbit MQ |
||
Starter for using Cassandra distributed database and Spring Data Cassandra |
||
Starter for using Spring Social Facebook |
||
Starter for JTA transactions using Atomikos |
||
Starter for using Spring Security |
||
Starter for building MVC web applications using Mustache views |
||
Starter for using Spring Data JPA with Hibernate |
||
Core starter, including auto-configuration support, logging and YAML |
||
Starter for building MVC web applications using Groovy Templates views |
||
Starter for building MVC web applications using FreeMarker views |
||
Starter for using Spring Batch |
||
Stater for using Spring Social LinkedIn |
||
Starter for using Spring Framework’s caching support |
||
Starter for using the Apache Solr search platform with Spring Data Solr |
||
Starter for using MongoDB document-oriented database and Spring Data MongoDB |
||
Starter for using jOOQ to access SQL databases. An alternative to |
||
Spring Boot Narayana JTA Starter |
||
Starter for using Spring Cloud Connectors which simplifies connecting to services in cloud platforms like Cloud Foundry and Heroku |
||
Starter for JTA transactions using Bitronix |
||
Starter for using Spring Social Twitter |
||
Starter for exposing Spring Data repositories over REST using Spring Data REST |