If there was a war European WWI leaders had ignored, it was the Russo-Japanese War of 1904-1905. By then, technology had advanced enough that the teachings of the Franco-Prussian War were no longer valid, and defense was again stronger than offense.
There's a theory that Longstreet saw it all coming, too, but was unable to get the point through to Lee. That is, he saw that trench warfare was going to be the future.
But yeah. The European general staffs were modeling all their train timetables on the fast Franco-Prussian War of 1870.
Grant saw that you have to kill everyone or kill their ability to kill, or both. Lee was looking for the illusive decisive victory to create a political end to the war.
In fairness, the Confederates had an incentive to not see this, as an agrarian slave state cannot out produce a nascent industrial state.