The second is not incorrect.
Interested in Language
I was told to use the 'existential there' in:
There are five students in the classroom and not five students are in the classroom.
Why is the second sentence incorrect?
Who told you it's incorrect?
It isn't incorrect, but it's not what we'd say most of the time, and it could sound odd.