Transfer help

I’ve been to two community colleges. My first year was horrible with a 1.0 gpa for personal reasons, and my second year I transferred and had a 2.22 gpa. I want to transfer to a university and get serious with my studies. I saw a university and it says I need a 2.0 to transfer but will my first year stop me from being able to transfer? Or am I ok because my second year I had a 2.2…