Difference between revisions of "Java: Spring"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) (Created page with "[https://start.spring.io Spring Initializr] <br />") Tag: visualeditor |
Rafahsolis (talk | contribs) m Tag: visualeditor |
||
| Line 1: | Line 1: | ||
[https://start.spring.io Spring Initializr] | [https://start.spring.io Spring Initializr] | ||
| − | <br /> | + | Spring default port 8080 |
| + | |||
| + | [https://github.com/in28minutes/java-a-course-for-beginners/blob/master/51-learn-spring-framework/5.md#srcmainjavacomin28minuteslearnspringframeworksampleenterpriseflowwebcontrollerjava Code example] | ||
| + | |||
| + | === application.properties === | ||
| + | <syntaxhighlight lang="java"> | ||
| + | logging.level.org.springframework=DEBUG | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === pom.xml (Dependencies) === | ||
| + | <syntaxhighlight lang="xml"> | ||
| + | .... | ||
| + | <dependencies> | ||
| + | .... | ||
| + | <dependency> | ||
| + | <groupId>org.springframework.boot</groupId> | ||
| + | <artifactId>spring-boot-starter-web</artifactId> | ||
| + | </dependency> | ||
| + | .... | ||
| + | </dependencies> | ||
| + | .... | ||
| + | </syntaxhighlight><br /> | ||
Revision as of 12:27, 30 April 2022
Spring default port 8080
application.properties
logging.level.org.springframework=DEBUG
pom.xml (Dependencies)
....
<dependencies>
....
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
....
</dependencies>
....