The first is correct.
It is difficult to know when to use the gerund form.
He has a lack of experience. [This is confusing, because it implies he has something, when actually he does not - it is basically correct]
He is lacking in experience.
He lacks experience.