[
https://issues.jboss.org/browse/JBIDE-17947?page=com.atlassian.jira.plugi...
]
Radoslav Rábara edited comment on JBIDE-17947 at 7/22/14 12:11 PM:
-------------------------------------------------------------------
STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create class Resource (copy code and save the file)
{code}
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
@Path("/")
public class Resource {
@POST
@Path("{car}")
public void post()
}
{code}
STEP: add
{code}
@PathParam("car") Car car
{code}
as parameter of method post (and don't save the file)
FAIL: error in error log
if the error message doesn't appear in the error log then try it with these extra
steps:
STEP: save the file
STEP: remove @PathParam("car") Car car
STEP: save the file
STEP: add @PathParam("car") Car car (don't save the file)
FAIL: error in error log
see attached video JBIDE-17947 (2).ogv
was (Author: rrabara):
STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create class Resource
{code}
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
@Path("/")
public class Resource {
@POST
@Path("{car}")
public void post()
}
{code}
STEP: add
{code}
@PathParam("car") Car car
{code}
as parameter of method post but don't save the file
FAIL: error in error log
Java Model Exception occurs while typing
----------------------------------------
Key: JBIDE-17947
URL:
https://issues.jboss.org/browse/JBIDE-17947
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.2.0.Beta3
Reporter: Radoslav Rábara
Assignee: Xavier Coulon
Labels: respin-c
Fix For: 4.2.0.Beta3
Attachments: JBIDE-17947 (2).ogv, stack trace, video.ogv
While editing JAX-RS resource class, the following exception shows up in Error log
{code}
Java Model Exception: Java Model Status [post() {key=LResource;.post()V} [in Resource [in
[Working copy] Resource.java [in <default> [in src [in DynamicWebProject]]]]] does
not exist]
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)