The Meissner effect in the layered superconductor 2HTaS2