A Connecticut resident who sued businesses in two Caribbean countries after he was injured in a freak accident in St. Lucia had a federal judge dismiss his lawsuit in Connecticut.

Judge Jeffrey Meyer Tuesday granted a motion to dismiss Scott Herlihy’s lawsuit against Sandals Resort International Ltd., which has its principal place of business in Jamaica, and La Toc Holding Ltd., based in St. Lucia.