According to this earlier answer, which quotes the TNG Technical Manual, replicators need raw materials.
raw stock for food replicators is stored in the form of a sterilized organic particulate suspension that has been formulated to statistically require the least quantum manipulation to replicate most finished foodstuffs.
Hence, there is ...
Replicators have certain limitations. They can't create:
As for the living organisms, Star Trek: The Next Generation Technical Manual states that:
Though the replicators use a form of transporter technology, it's at such a low resolution that creating living tissue is a physical impossibility.
As for the ...
Replicators are common on federation ships, but don't seem as available to other cultures, or independent / underground communities. This is government/military grade, top of the line technology you're talking about. There may be agreements to share some technology with allies, but it's not 'open source', so to speak.
Harry lives in a filter bubble. Not mentioning productive occupations in the story doesn't imply they're non-existent
Wizards use magic and magical creatures to be much more effective and therefore the ratio of people working in productive occupations can be smaller.
All jobs mentioned in the books are non-productive occupations…
That is true, ...
because both the dark and the light 'sides' believe that people should do for themselves, as much as is possible, to exercise their free will and make decisions for themselves, to grow
the light believes that where necessary people should be helped, as much as is 'possible' given scarce resources (because the dark consumes everything)
the dark believes ...