Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Spring Basics Using the MVC Architecture Add a CategoryController

Hector Catala
Hector Catala
5,438 Points

/categories not found

I get this error in the URL http://localhost:8080/categories


Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Tue May 17 13:53:54 CDT 2016 There was an unexpected error (type=Not Found, status=404). No message available


I'm using IntelliJ IDEA 2016.1.2, JDK 1.8.0_76

Thank you.

1 Answer

Hector Catala
Hector Catala
5,438 Points

Found my error.

Missing add @Controller annotation in CategoryController.java file.

Sorry my bad and thanks for read my question.