SAN ANTONIO (AP) -- LeBron James wasn't looking forward to a fourth overtime in three games.
So when San Antonio's Manu Ginobili shot the ball for the chance to tie with just seconds remaining, all James could do was hope the Spurs star missed.
Ginobili did, and James and the Cleveland Cavaliers were able to breathe easy.
"You know it was down to the last shot again for us going into overtime," said James, who scored 27 points in the Cavaliers' 90-88 victory Thursday night. "It was big to see the ball not go in with no time on the clock. Big win."
And while the Cavs were careful to treat the matchup like any other in the regular season, it could not have escaped anyone's attention that the win came against the team that swept them in last season's NBA Finals.
Zydrunas Ilgauskas added 17 points for Cleveland, which has won three in a row, and Anderson Varejao scored 12 points and grabbed 14 rebounds in their first meeting with the Spurs since June's Finals.
"The Finals are over and done with," James said. "One thing we did tonight, we got defensive steps and we made plays down the stretch. ... We've just got to continue to play well. We've been playing great basketball lately."
Ginobili scored 31 points for the Spurs, and Tony Parker added 23 points but missed two free throws with 29.4 seconds to play that would have tied the game at 90.
"They both felt good. They just didn't go in," Parker said. "I shoot 200 free throws every day. It was a good chance to show my improvement. They just didn't go in."
Tim Duncan scored 20 points and had 11 rebounds for San Antonio, which has lost four games at home and dropped to 5-5 in its last 10 overall.
A goaltending call against James, coming off a season-high 51 points against Memphis, gave the Spurs an 86-85 lead with 1:34 to play, but Daniel Gibson's 3-pointer put Cleveland ahead.
Duncan tied it at 88 before James' winning layup gave the Cavs a 90-88 lead with 33.6 seconds left. Parker, with a chance to tie, missed his two free throws and Ginobili's last-second jumper attempt didn't fall.
"I'd do that 10 out of 10 times, you bet," Spurs coach Gregg Popovich said of not taking a time out before the last play. "You're not going to get a better shot than Manu or Tony going one-on-one down the court."
Gibson, who added 11 points for Cleveland, agreed, and not because Popovich's decision resulted in the Cavaliers' win.
"It was a great call by Pop, to kind of let them go," Gibson said. "Because when you're in transition, it's tough to find a body. We were all scrambling looking for him."
The Spurs jumped out to a nine-point lead early and extended it to 10 early in the second quarter.
But the Cavaliers, behind Ilgauskas and Varejao, who scored nine and eight points in the quarter, respectively, went on a 17-2 run to go up 43-33 with 3:38 left in the quarter.
Only Ginobili, with 10 points in the second period, kept the Spurs afloat.
Cleveland, up 50-43 at halftime, took the lead with 7:30 left in the second quarter -- and kept it until about halfway through the fourth quarter -- off Damon Jones' fast-break layup that broke a 31-all tie.
The Cavs extended their lead to eight points at 73-65 by the end of a third quarter in which the teams largely traded baskets, allowing Cleveland to keep San Antonio at bay.
Down 73-65 heading into the final quarter, Ginobili scored eight straight for the Spurs to open the period and bring San Antonio within 77-73. Spurs guard Brent Barry, in his first game since tearing a calf muscle in late December, scored his first points of the night on a 3-pointer that made it 77-76.
Parker's fast break to the rim with 6:42 left closed the Spurs' 13-4 run and gave them their first lead, 78-77, since 8:06 remained in the second quarter.
Barry's second 3 gave San Antonio another lead at 81-79 before Ilgauskas tied it at 81 with 5:08 to play.
Barry missed nine games with a torn left calf muscle. He logged 15 minutes and scored six points. ... The Cavs swept both games against the Spurs last season and now have a four-game regular-season winning streak against San Antonio. ... The Cavaliers outrebounded San Antonio 45-50, but the teams were nearly even on points in the paint (30 each), assists (18 each) and fast-break points (15-14 Spurs). ... The Spurs visit Cleveland on Feb. 13. ... James, who came down on his right ankle on top of Parker's foot in the third quarter, but didn't miss any time, said he "tweaked it a little bit. ... but I wasn't going to sit out the game, not in a big game like this."