Merge pull request #24589 from chenqimiao/fix404url-in-doc
Closes gh-24589
This commit is contained in:
commit
87230c4f1f
|
@ -74,7 +74,7 @@ In most application scenarios, explicit user code is not required to instantiate
|
|||
more instances of a Spring IoC container. For example, in a web application scenario, a
|
||||
simple eight (or so) lines of boilerplate web descriptor XML in the `web.xml` file
|
||||
of the application typically suffices (see <<context-create>>). If you use the
|
||||
https://spring.io/tools/sts[Spring Tool Suite] (an Eclipse-powered development
|
||||
https://spring.io/tools[Spring Tools for Eclipse] (an Eclipse-powered development
|
||||
environment), you can easily create this boilerplate configuration with a few mouse clicks or
|
||||
keystrokes.
|
||||
|
||||
|
@ -1481,7 +1481,7 @@ XML configuration:
|
|||
|
||||
The preceding XML is more succinct. However, typos are discovered at runtime rather than
|
||||
design time, unless you use an IDE (such as https://www.jetbrains.com/idea/[IntelliJ
|
||||
IDEA] or the https://spring.io/tools/sts[Spring Tool Suite])
|
||||
IDEA] or the https://spring.io/tools[Spring Tools for Eclipse])
|
||||
that supports automatic property completion when you create bean definitions. Such IDE
|
||||
assistance is highly recommended.
|
||||
|
||||
|
@ -4649,7 +4649,7 @@ No matter the choice, Spring can accommodate both styles and even mix them toget
|
|||
It is worth pointing out that through its <<beans-java, JavaConfig>> option, Spring lets
|
||||
annotations be used in a non-invasive way, without touching the target components
|
||||
source code and that, in terms of tooling, all configuration styles are supported by the
|
||||
https://spring.io/tools/sts[Spring Tool Suite].
|
||||
https://spring.io/tools[Spring Tools for Eclipse].
|
||||
****
|
||||
|
||||
An alternative to XML setup is provided by annotation-based configuration, which relies on
|
||||
|
@ -8985,7 +8985,7 @@ modularity, but determining exactly where the autowired bean definitions are dec
|
|||
still somewhat ambiguous. For example, as a developer looking at `ServiceConfig`, how do
|
||||
you know exactly where the `@Autowired AccountRepository` bean is declared? It is not
|
||||
explicit in the code, and this may be just fine. Remember that the
|
||||
https://spring.io/tools/sts[Spring Tool Suite] provides tooling that
|
||||
https://spring.io/tools[Spring Tools for Eclipse] provides tooling that
|
||||
can render graphs showing how everything is wired, which may be all you need. Also,
|
||||
your Java IDE can easily find all declarations and uses of the `AccountRepository` type
|
||||
and quickly show you the location of `@Bean` methods that return that type.
|
||||
|
|
|
@ -11,8 +11,8 @@ EL, to name a few -- the Spring Expression Language was created to provide the S
|
|||
community with a single well supported expression language that can be used across all
|
||||
the products in the Spring portfolio. Its language features are driven by the
|
||||
requirements of the projects in the Spring portfolio, including tooling requirements
|
||||
for code completion support within the Eclipse-based Spring Tool Suite. That said,
|
||||
SpEL is based on a technology-agnostic API that lets other expression language
|
||||
for code completion support within the https://spring.io/tools[Spring Tools for Eclipse].
|
||||
That said, SpEL is based on a technology-agnostic API that lets other expression language
|
||||
implementations be integrated, should the need arise.
|
||||
|
||||
While SpEL serves as the foundation for expression evaluation within the Spring
|
||||
|
|
|
@ -6468,7 +6468,7 @@ The fluent API in the example from the <<spring-mvc-test-server, preceding secti
|
|||
requires a few static imports, such as `MockMvcRequestBuilders.{asterisk}`,
|
||||
`MockMvcResultMatchers.{asterisk}`, and `MockMvcBuilders.{asterisk}`. An easy way to find
|
||||
these classes is to search for types that match `MockMvc*`. If you use Eclipse or the
|
||||
Eclipse-based Spring Tool Suite, be sure to add them as "`favorite static members`" in
|
||||
https://spring.io/tools[Spring Tools for Eclipse], be sure to add them as "`favorite static members`" in
|
||||
the Eclipse preferences under Java -> Editor -> Content Assist -> Favorites. Doing so
|
||||
lets you use content assist after typing the first character of the static method name.
|
||||
Other IDEs (such as IntelliJ) may not require any additional configuration. Check the
|
||||
|
|
Loading…
Reference in New Issue