What is also problematic is that there is also clearly scarcity in Star Trek as well, even if it is not obvious to the main characters. While the political problems seem to come first, in cases like Tasha Yar's homeworld, there is nothing but those in Star Wars. Given the nature of Star Wars politics, it is probable that the ones to own replicators would be groups like the Trade Federation and Techno Union, who would prevent the technology from proliferating and destroying their market domination.
Jakku seems to be a case of a company town gone bad, in which people get stranded there and forced to work for nothing. There are certainly the resources in the overall galaxy to help people like that, but they are happy diverting those resources so that core worlds can live ever more luxurious lifestyles. Star Wars is also a setting that seems to value hand crafting rather than production lines when it comes to luxury goods.
Lord Revan wrote:the Death Star was built with wookiee slaves for punishment for their action after the clone wars (in legendaries that is) though the novel "Death Star" implied that it wasn't built exclusively with slaves and droids and convicts were used as well and there wasn't really any logical reason beyond a brutal way of punishment implied.
Slight nitpick based on a different source, but Tarkin clearly wanted Wookie slaves for the Death Star, for their mixture of strength and technical ability, using the Wookie "resistance" to the new order as an excuse rather than a cause. The excuse used was that the Wookies were hiding Jedi fugitives, after a group of Jedi survivors were searching for Yoda on that world. The Jedi learned the hard way that sticking together under the Empire was a bad idea, especially in the face of Vader. It was also a question of making an example of someone while the Empire consolidated their power, so it is still the same in a different way. This was from the novel Dark Lord.
In any case, the underlying point is correct. It was not merely built with slaves.