Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-mongodb
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
spring-boot-mongodb
Commits
89c50fdd
Commit
89c50fdd
authored
Jul 19, 2017
by
小柒2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
启动类
Signed-off-by: 小柒2012 <345849402@qq.com>
parent
5f63bc0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Application.java
src/main/java/com/itstyle/mongodb/Application.java
+6
-0
No files found.
src/main/java/com/itstyle/mongodb/Application.java
View file @
89c50fdd
...
@@ -4,6 +4,12 @@ import org.apache.log4j.Logger;
...
@@ -4,6 +4,12 @@ import org.apache.log4j.Logger;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.context.annotation.ComponentScan
;
/**
* 启动类
* 创建者 科帮网
* 创建时间 2017年7月19日
*
*/
@EnableAutoConfiguration
@EnableAutoConfiguration
@ComponentScan
(
basePackages
={
"com.itstyle.mongodb"
})
@ComponentScan
(
basePackages
={
"com.itstyle.mongodb"
})
public
class
Application
{
public
class
Application
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment