Maratk1n:
I tried to replace the 19 line fromSoftwareSerial nexSerial(2, 3); // RX, TXto
#define nexSerial Serialand connect Rx/Tx from display to pins 0 and 1 on Arduino UNO.
That is nothing like what I suggested:
do a search and replace in Nextion.h and cpp. Replace all occurrences of "SoftwareSerial" with "NeoSWSerial" (case sensitive!).