A British Royal Navy sailor has been cleared of gang raping a Canadian woman at a military barracks.

Darren Smalley was accused of assaulting a 21-year-old woman during a Navy ice-hockey tour of Nova Scotia in April 2015.

Smalley was acquitted after the judge said the alleged victim's testimony was simply not credible, according to local media.

Three other men were initially charged but the cases were dropped or stayed, leaving Smalley as the only man who faced a trial.

Darren Smalley, pictured left at sea and right during a court appearance, has been cleared of gang rape after a judge reportedly ruled the alleged victim's testimony was not credible

'I'm relieved this has come to an end. It's been a hard four years,' Smalley told reporters as he left the courtroom.

'With having allegations hanging over you for such a long time, it's taken its toll on me both mentally and physically.'

The sailor's defence lawyer said the woman's evidence was 'undermined by inconsistencies', Global News reported.

His lawyer added that he will now return to Britain and looks forward to getting on with his life.

The complainant had testified in court that the four men sexually assaulted her during a party.

She claimed she had been attacked at the Shearwater military barracks at the home of Canada's Atlantic fleet.

The woman alleged she had fallen asleep next to a sailor on a bunk and awoken face down and naked while being raped by several men.

Military police had seized the four men's bedding, clothing and mobile phones as they investigated the allegations.