The photo released by the Massachusetts State Police allegedly shows the insole-shaped cocaine packages that Carlos J. Lanns had hidden in four pairs of shoes aboard Jet Blue Flight 862 on Monday.

BOSTON — A New Jersey man who was allegedly caught at Boston's Logan International Airport with more than two kilograms of cocaine in several pairs of shoes has been ordered held on $300,000 bail.

Carlos J. Lanns, 24 of Hamilton, N.J., pleaded not guilty to drug charges at his arraignment Tuesday in East Boston District Court.

According to Massachusetts State Police, Lanns was taken into custody at the airport around 7 p.m. on Monday after arriving in Boston on a Jet Blue flight.

Following a joint investigation involving US Customs and Border Protection and state troopers, officers allegedly found more than two kilograms of cocaine hidden inside the insoles of four pairs of shoes in Lanns' checked luggage.

Prosecutors say there were reports of someone on the plane with drugs, but did not say what led them to Lanns.