Skip to content

Commit e09007d

Browse files
afillatredsyer
authored andcommitted
Clarify how to add the ClientApplication
Related to issue spring-guides#52
1 parent 4730692 commit e09007d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

auth-server/README.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ public class ClientApplication {
237237
}
238238
----
239239

240+
NOTE: The `ClientApplication` class MUST NOT be created in the same
241+
package (or a sub-package) of the `SocialApplication` class. Otherwise,
242+
Spring will load some `ClientApplication` auto-configurations while
243+
starting the `SocialApplication` server, resulting in startup errors.
244+
240245
The ingredients of the client are a home page (just prints the user's
241246
name), and an explicit name for a configuration file (via
242247
`spring.config.name=client`). When we run this app it will look for a

0 commit comments

Comments
 (0)