spring-guides / gs-rest-service

Building a RESTful Web Service :: Learn how to create a RESTful web service with Spring.

Home Page:https://spring.io/guides/gs/rest-service/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pom.xml has unnecessary <start-class>

ericdahl opened this issue · comments

I was confused to see that the pom.xml includes:

<properties>
    <start-class>hello.Application</start-class>
</properties>

since the main documentation doesn't include references to it. It's unnecessary and adds complexity for a getting started guide.

I was about to submit a pull request to remove it, but then I saw that all of the spring-guides include it. Possibly there's some reason for keeping it?

No reason I know of to have it everywhere. As a learning tool maybe useful to have it once (in the gs-spring-boot guide maybe). I think it's just a remnant.

It's a remnant.

Resolved via 92403fe