博客首页 » Java Spring Boot
发布于 07 Aug 2015 15:47
标签 blog
Spring Boot可以简化Spring配置。
使用Spring Boot快速构建应用
http://www.infoq.com/cn/news/2014/01/spring-boot/
如何快速构建基于Spring4.0的Rest API(攻略)
http://www.importnew.com/7903.html
maven-shade-plugin error: Cannot find setter, adder nor field in org.apache.maven.plugins.shade.resource.ManifestResourceTransformer for 'resource'
http://stackoverflow.com/questions/22999399/maven-shade-plugin-error-cannot-find-setter-adder-nor-field-in-org-apache-mave
Spring Boot Maven Plugin
http://docs.spring.io/spring-boot/docs/1.1.9.RELEASE/maven-plugin/usage.html
http://www.infoq.com/cn/articles/microframeworks1-spring-boot/
http://projects.spring.io/spring-boot/#quick-start
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.springframework</groupId> <artifactId>gs-maven</artifactId> <packaging>jar</packaging> <version>0.1.0</version> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.2.5.RELEASE</version> </parent> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <mainClass>hello.HelloWorld</mainClass> </configuration> </plugin> </plugins> </build> <!-- <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>hello.HelloWorld</mainClass> </transformer> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> --> </project>
本页面的文字允许在知识共享 署名-相同方式共享 3.0协议和GNU自由文档许可证下修改和再使用,仅有一个特殊要求,请用链接方式注明文章引用出处及作者。请协助维护作者合法权益。
系列文章
文章列表
- Java Spring Boot
这篇文章对你有帮助吗,投个票吧?
留下你的评论