Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
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
DEMO
spring-boot
Commits
c1bbd4fc
Commit
c1bbd4fc
authored
Jan 20, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in howto
parent
56364ecd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
howto.md
docs/howto.md
+2
-2
No files found.
docs/howto.md
View file @
c1bbd4fc
...
...
@@ -651,8 +651,8 @@ also bootstrap a Spring application to set up the infrastructure to
use, then it's easy with the
`SpringApplication`
features of Spring
Boot. A
`SpringApplication`
changes its
`ApplicationContext`
class
depending on whether it thinks it needs a web application or not. The
first thing you can do to help it is to just leave the
web
dep
d
endencies off the classpath. If you can't do that (e.g. you are
first thing you can do to help it is to just leave the
servlet API
dependencies off the classpath. If you can't do that (e.g. you are
running 2 applications from the same code base) then you can
explicitly call
`SpringApplication.setWebEnvironment(false)`
, or set
the
`applicationContextClass`
property (through the Java API or with
...
...
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