4.Spring Boot Starter POMs 介绍

Spring Boot Starter POMs 介绍

      Starter POMs是可以包含到应用中的一个方便的依赖关系描述符集合。可以获取所有Spring及相关的一站式服务,而不需要大量的依赖描述符。所有的starters遵循一个相似的命名模式:spring-boot-starter-*,在这里*是一种特殊类型的应用程序。这句为官方翻译。
      Spring Boot官方为了我们提供了很多的Starter Poms,具体见下表:
名称描述
spring-boot-starter-thymeleaf对Thymeleaf模板引擎的支持,Spring mvc的集成
spring-boot-starter-ws对Spring Web Services 支持,1.4建议弃用spring-boot-starter-web-services
spring-boot-starter-data-couchbase对Couchbase面向文档的数据库和Spring Data Couchbase 的支持
spring-boot-starter-artemis对JMS消息使用Apache artemis
spring-boot-starter-web-services对Spring web Service 支持
spring-boot-starter-mail对java.mail的支持
spring-boot-starter-data-redis对redis支持,包含Spring Data Redis 客户端 Jedis
spring-boot-starter-web对web支持,包括RESTful,使用tomcat作为默认容器
spring-boot-starter-data-gemfire对Gemfire 分布式数据存储和Spring Data Gemfire支持
spring-boot-starter-activemq对activemq支持
spring-boot-starter-data-elasticsearch对elasticsearch 搜索和分析引擎支持
spring-boot-starter-integration对Spring Integration 支持
spring-boot-starter-test对Spring test支持,包括:Junit,Hamcrest,Mockito
spring-boot-starter-hornetq对hornetq支持。1.4建议弃用spring-boot-starter-artemis
spring-boot-starter-jdbc对tomcat 连接池与JDBC支持
spring-boot-starter-mobile对Spring mobile 支持
spring-boot-starter-validation对validation支持,使用Hibernate validation
spring-boot-starter-hateoas对hateoas支持,用于构建RESTFul web应用使用Spring mvc与Spring Hateoas
spring-boot-starter-jersey对jersey支持,用于构建RESTFul web应用使用JAX-RS与Jersey
spring-boot-starter-data-neo4j对neo4j支持
spring-boot-starter-websocket对websocket支持
spring-boot-starter-aop对Spring AOP与aspectj AOP 支持
spring-boot-starter-amqp对Spring AMQP与Rabbit MQ支持
spring-boot-starter-data-cassandra对cassandra支持
spring-boot-starter-social-facebook对facebook支持
spring-boot-starter-jta-atomikos对atomikos JTA事务支持
spring-boot-starter-security对Spring security支持
spring-boot-starter-mustache对mustache支持
spring-boot-starter-data-jpa对jpa支持
spring-boot-starter对自动配置、日志记录和YAML支持,核心starter
spring-boot-starter-velocity对Velocity 模板引擎支持
spring-boot-starter-groovy-templates对MVC应用中弃用groovy模板支持
spring-boot-starter-freemarker对freemarker模板引擎支持
spring-boot-starter-batch对Spring batch支持
spring-boot-starter-redis对Redis支持,1.4建议弃用spring-boot-starter-data-redis
spring-boot-starter-social-linkedin对social linkedin 支持
spring-boot-starter-cache对缓存支持
spring-boot-starter-data-solr对Apache solr支持
spring-boot-starter-data-mongodb对mongodb支持
spring-boot-starter-jooq对jooq支持,使用jooq访问数据库
spring-boot-starter-jta-narayana对JTA narayana支持
spring-boot-starter-cloud-connectors对Spring cloud连接云平台和Heroku支持
spring-boot-starter-jta-bitronix对JTA bitronix事务支持
spring-boot-starter-social-twitter对social twitter支持
spring-boot-starter-data-rest通过Spring-data-rest-webmvc将Spring Data Repository暴露为REST服务
准生产特性的Starter
spring-boot-starter-actuator对准特性支持,生产监控和管理您的应用程序
spring-boot-starter-remote-shell对远程ssh shell支持
排除或替换技术类的Starter
spring-boot-starter-undertow对undertow支持,作为tomcat替代
spring-boot-starter-jetty对jetty支持,作为tomcat替代
spring-boot-starter-logging对logBack支持,Spring Boot默认的日志
spring-boot-starter-tomcat对tomcat的支持,Spring Boot默认的容器
spring-boot-starter-log4j2对log4j2的支持
      到这里我们看到Spring Boot官方已经提供了很多的Starter,还有很多第三方提供的Starter,比如:activiti等。在这里简单的做个介绍,后面我们会讲解自己定义Starter 使用Spring @Conditional注解实现自动配置功能。
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
[INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] 'dependencies.dependency.version' for org.mybatis.spring.boot:mybatis-spring-boot-starter:jar is missing. @ line 73, column 21 [ERROR] 'dependencies.dependency.version' for org.mybatis.spring.boot:mybatis-spring-boot-starter:jar is missing. @ line 85, column 21 [ERROR] 'dependencies.dependency.version' for org.mybatis.spring.boot:mybatis-spring-boot-starter:jar is missing. @ line 82, column 21 @ [ERROR] The build could not read 3 projects -> [Help 1] [ERROR] [ERROR] The project org.pw:user-service:1.0-SNAPSHOT (C:\workspace\tools\idea\myproject\mysb\user-service\pom.xml) has 1 error [ERROR] 'dependencies.dependency.version' for org.mybatis.spring.boot:mybatis-spring-boot-starter:jar is missing. @ line 73, column 21 [ERROR] [ERROR] The project org.pw:order-service:1.0-SNAPSHOT (C:\workspace\tools\idea\myproject\mysb\order-service\pom.xml) has 1 error [ERROR] 'dependencies.dependency.version' for org.mybatis.spring.boot:mybatis-spring-boot-starter:jar is missing. @ line 85, column 21 [ERROR] [ERROR] The project org.pw:login-service:1.0-SNAPSHOT (C:\workspace\tools\idea\myproject\mysb\login-service\pom.xml) has 1 error [ERROR] 'dependencies.dependency.version' for org.mybatis.spring.boot:mybatis-spring-boot-starter:jar is missing. @ line 82, column 21 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:.
06-01
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值