Adding CSV as a layer on Geoserver

I think you may wish to say the stratagy “ specify ” so it knows to try that lat and lon field.

https://docs.geotools.org/latest/userguide/library/data/csv.html