mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
b9104c9337
Due to the layout format change in 1.4, Spring Framework is no longer able to compute a default persistence unit root URL. If a Spring Boot 1.4 application has JPA but does not have any entity, the application started from a fat jar now fails with a quite cryptic exception. This commit introduces `ApplicationInfo` as a general replacement for the `ApplicationArguments` and `Banner` singleton beans that `SpringApplication` registers on startup. `ApplicationInfo` also defines the detected "main" `Class` that can be used to compute a last resort URL that makes sense. If such bean is available, `EntityManagerFactoryBuilder` now sets the default persistence unit root location, preventing Spring Framework to attempt to resolve an unknown location. Note that in our case the persistence unit root location is actually useless: given the way the persistence unit is created, nothing actually uses it but Hibernate, as a compliant JPA provider, has to make sure this setting is set to a valid URL nevertheless. Closes gh-6635 |
||
---|---|---|
.. | ||
spring-boot-starter | ||
spring-boot-starter-activemq | ||
spring-boot-starter-actuator | ||
spring-boot-starter-amqp | ||
spring-boot-starter-aop | ||
spring-boot-starter-artemis | ||
spring-boot-starter-batch | ||
spring-boot-starter-cache | ||
spring-boot-starter-cloud-connectors | ||
spring-boot-starter-data-cassandra | ||
spring-boot-starter-data-couchbase | ||
spring-boot-starter-data-elasticsearch | ||
spring-boot-starter-data-gemfire | ||
spring-boot-starter-data-jpa | ||
spring-boot-starter-data-mongodb | ||
spring-boot-starter-data-neo4j | ||
spring-boot-starter-data-redis | ||
spring-boot-starter-data-rest | ||
spring-boot-starter-data-solr | ||
spring-boot-starter-freemarker | ||
spring-boot-starter-groovy-templates | ||
spring-boot-starter-hateoas | ||
spring-boot-starter-hornetq | ||
spring-boot-starter-integration | ||
spring-boot-starter-jdbc | ||
spring-boot-starter-jersey | ||
spring-boot-starter-jetty | ||
spring-boot-starter-jooq | ||
spring-boot-starter-jta-atomikos | ||
spring-boot-starter-jta-bitronix | ||
spring-boot-starter-jta-narayana | ||
spring-boot-starter-log4j2 | ||
spring-boot-starter-logging | ||
spring-boot-starter-mail | ||
spring-boot-starter-mobile | ||
spring-boot-starter-mustache | ||
spring-boot-starter-parent | ||
spring-boot-starter-redis | ||
spring-boot-starter-remote-shell | ||
spring-boot-starter-security | ||
spring-boot-starter-social-facebook | ||
spring-boot-starter-social-linkedin | ||
spring-boot-starter-social-twitter | ||
spring-boot-starter-test | ||
spring-boot-starter-thymeleaf | ||
spring-boot-starter-tomcat | ||
spring-boot-starter-undertow | ||
spring-boot-starter-validation | ||
spring-boot-starter-velocity | ||
spring-boot-starter-web | ||
spring-boot-starter-web-services | ||
spring-boot-starter-websocket | ||
spring-boot-starter-ws | ||
src/main/assembly | ||
pom.xml | ||
README.adoc |
= Starters Spring Boot Starters are a set of convenient dependency descriptors that you can include in your application. You get a one-stop-shop for all the Spring and related technology that you need without having to hunt through sample code and copy paste loads of dependency descriptors. For example, if you want to get started using Spring and JPA for database access just include the `spring-boot-starter-data-jpa` dependency in your project, and you are good to go. For complete details see the http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter-poms[reference documentation] == Community Contributions If you create a starter for a technology that is not already in the standard list we can list it here. Just send a pull request for this page. WARNING: While the http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter-poms[reference documentation] mentions that 3rd party starters should not start with `spring-boot`, some starters do as they were designed before this was clarified. |=== | Name | Location | Central Authentication Service (CAS) client | https://github.com/Unicon/cas-client-autoconfig-support | http://modelmapper.org/[ModelMapper] | https://github.com/jmnarloch/modelmapper-spring-boot-starter | http://secondmarket.github.io/mongeez/[Mongeez] | https://github.com/hzpz/mongeez-spring-boot-starter/ | http://ha-jdbc.github.io/[HA JDBC] | https://github.com/lievendoclo/hajdbc-spring-boot | https://github.com/jknack/handlebars.java[Handlebars] | https://github.com/allegro/handlebars-spring-boot-starter | https://vaadin.com/[Vaadin] | https://github.com/vaadin/spring/tree/master/vaadin-spring-boot-starter | http://camel.apache.org/spring-boot.html[Apache Camel] | https://github.com/apache/camel/tree/master/components/camel-spring-boot | https://code.google.com/p/wro4j/[WRO4J] | https://github.com/sbuettner/spring-boot-autoconfigure-wro4j | http://alexo.github.io/wro4j/[Wro4j] (Advanced usage) | https://github.com/michael-simons/wro4j-spring-boot-starter | http://projects.spring.io/spring-batch/[Spring Batch] (Advanced usage) | https://github.com/codecentric/spring-boot-starter-batch-web | http://hdiv.org/[HDIV] | https://github.com/hdiv/spring-boot-starter-hdiv | https://github.com/neuland/jade4j[Jade Templates] (Jade4J) | https://github.com/domix/spring-boot-starter-jade4j | https://www.google.com/recaptcha[Google's reCAPTCHA] | https://github.com/mkopylec/recaptcha-spring-boot-starter | http://mybatis.org/mybatis-3/[Mybatis] | https://github.com/mybatis/mybatis-spring-boot | http://wicket.apache.org/[Apache Wicket] | https://github.com/MarcGiffing/wicket-spring-boot | https://cloudant.com/[Cloudant] | https://github.com/icha024/cloudant-spring-boot-starter | http://www.grpc.io/[gRPC] | https://github.com/LogNet/grpc-spring-boot-starter | https://github.com/facebook/nifty[Nifty] (Thrift on Netty) | https://github.com/bigdullrock/nifty-spring-boot-starter | http://www.couchbase.com/[Couchbase] HTTP session | https://github.com/mkopylec/session-couchbase-spring-boot-starter | https://github.com/oembedler/spring-graphql-common[Spring GraphQL] (GraphQL and GraphiQL) | https://github.com/oembedler/graphql-spring-boot | https://www.mulesoft.com/platform/soa/mule-esb-open-source-esb[Mule ESB] | https://github.com/denschu/mule-spring-boot-starter | https://camunda.org/[Camunda BPM] | https://github.com/camunda/camunda-bpm-spring-boot-starter | http://ff4j.org/[Feature Flipping For Java (FF4J)] | https://github.com/clun/ff4j/ | http://resteasy.jboss.org/[RESTEasy] | https://github.com/paypal/resteasy-spring-boot | JSF (http://primefaces.org/[PrimeFaces], http://primefaces-extensions.github.io/[PrimeFaces Extensions], http://bootsfaces.net/[BootsFaces], http://butterfaces.org/[ButterFaces], http://omnifaces.org/[OmniFaces], http://angularfaces.net/[AngularFaces], https://javaserverfaces.java.net/[Mojarra] and http://myfaces.apache.org[MyFaces]) | http://joinfaces.org | Charon reverse proxy | https://github.com/mkopylec/charon-spring-boot-starter | http://www.wiremock.org[WireMock] and Spring RESTDocs | https://github.com/ePages-de/restdocs-wiremock | https://cxf.apache.org/docs/springboot.html[Apache CXF] | https://github.com/apache/cxf |===