Skip to content

Problem Resource server  #187

Open
Open
@erich5168

Description

@erich5168

Help wanted....

My current structure is follow

|- security-guide
        |- ui
        |- resource
|- pom.xml    

On 2nd section "The Resource Server" once you have finished setting up resource project what level of the directory should I be to when I run mvn spring-boot:run -Dserver.port=9000 in the command line? Should I be under security-guide? or should I be in resource?

Logically I should be in the parent root (security-guide) this way the application is build with ui and resource server as one application. But when I run mvn spring-boot:run -Dserver.port=9000 or mvn spring-boot:run in the parent root (security-guide) maven only builds ui , and initialize Tomcat port 8080. It does not continue to build resource server unless I quite ui's Tomcat. Is this normal? Is there something I need to adjust in the pom files for maven to build two modules into one application?

Suggestion:
There is a significant structural change in 2nd section "The Resource Server". The project went from maven single project to a multi-module maven project. Although it is outside of the topic but I think the guide should indicate the change and provide an oversite on how the project will work with this new structure the benefits and how this structure plays out in a later section of the guide. As a beginner its really hard to follow...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions