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
Harrison Cassedy
Java Web Development Techdegree Graduate 12,031 PointsWondering why code compiles but labels it as an error.
currently I have a string of code at 6:00 in the video. When I type:
model.put("username", req.queryParams("username"));
the IDE recognizes this as an error. The code compiles and runs just fine but I don't want this messing with me in the future. Any help is highly appreciated!
1 Answer
Harrison Cassedy
Java Web Development Techdegree Graduate 12,031 PointsUpdate: it seems to work fine and there is no error message associated with it. just a red line underneath the keyword. Thank you for the advice on question posting.
Livia Galeazzi
Java Web Development Techdegree Graduate 21,083 PointsLivia Galeazzi
Java Web Development Techdegree Graduate 21,083 PointsWe can't help you unless you post your code and tell us which warning the IDE is giving you.