All,
I am getting a com.sun.jersey.api.container.ContainerException on startup of my web application.
The exception message is as follows:
Method, public org.w3c.dom.Document com.ejgallo.finance.accountspayable.payments.attachments.Attachments.deleteDocRepoDocument
(com.ejgallo.finance.accountspayable.web.IcWebSession,java.lang.String,java.lang.String,java.lang.String),
annotated with GET of resource, class com.ejgallo.finance.accountspayable.payments.attachments.Attachments, is not recognized as valid Java method annotated with @HttpMethod.
The method that is referenced in the exception message is declared as follows:
@GET
@Path( "/documents/delete/{nodeid}/{filename}/{jobinstanceid}" )
@Produces( MediaType.TEXT_XML )
public Document deleteDocRepoDocument(
@Context IcWebSession session,
@PathParam( "nodeid" ) String nodeid,
@PathParam( "filename" ) String filename,
@PathParam( "jobinstanceid" ) String jobinstanceid )
{
...
}
I'm not sure why it's complaining about this method, any thoughts?
Thank you in advance,
Travis Beech | Programmer Analyst | E&J Gallo Winery