Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RESTController does not contain imports #32

Closed
mdbudnick opened this issue Jun 20, 2017 · 1 comment
Closed

RESTController does not contain imports #32

mdbudnick opened this issue Jun 20, 2017 · 1 comment

Comments

@mdbudnick
Copy link

The code for BookmarkRESTController in the tutorial should contain what the source code here does:

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.support.ServletUriComponentsBuilder;

import java.net.URI;
import java.util.Collection;

@gregturn
Copy link
Contributor

This tutorial was completely rewritten as of 63d3937.

I suggest you read it from the top and be sure to let us know if you spot any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants