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 Local Development Environments Advanced Tooling Refactoring

Cannot perform Type Migration

I am unable to perform the Type Migration int he Refactoring video. I receive the error below when I change the Song class to SongRequest in the Migrate type to field:

'java.util.Queue<com.teamtreehouse.model.SongRequest>' is an invalid type'

Any thoughts? This piece right here is inhibiting me from completing the code challenge that follows.

1 Answer

Andy Stevens
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Andy Stevens
Front End Web Development Techdegree Graduate 20,417 Points

To work around this you need to position a caret (^) on type of field, variable, method or method parameter to be refactored. I did this and it worked for me.