PersonalIamwhenitexecutesthepagetogeneratethejsonitonlyafternull,alreadyverifieditistakingthedataofthebankthestrangeranditisgivingthismessage:
Information:Scanningforrootresourceandproviderclassesinthe packages:ResourceInformation:Rootresourceclassesfound:
classResource.estoqueResourceInformation:Noproviderclasses found.Information:InitiatingJerseyapplication,version'Jersey: 1.1112/09/201110:27AM'
/**Tochangethislicenseheader,chooseLicenseHeadersinProjectProperties.*Tochangethistemplatefile,chooseTools|Templates*andopenthetemplateintheeditor.*/packageResource;importController.estoqueControler;importModel.ESTOQUE;importjava.util.ArrayList;importjavax.ws.rs.GET;importjavax.ws.rs.Path;importjavax.ws.rs.Produces;/****@authorFelipee[![inseriradescriçãodaimagemaqui][1]][1]*/@Path("/estoque")
public class estoqueResource {
@GET
@Path("/Estoque")
@Produces("application/json")
public ArrayList<ESTOQUE> ESTOQUE() {
return new estoqueControler().ESTOQUE();
}
}