We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throws error on Maven build running AnnotationProcessor same config works with Java 1.6:
[INFO] diagnostic C:\Users\me\dev\workspaces\TNT\mytestapplication-service\src\main\generated\java\com\me\mytestapplication\resource\CustomerServiceResource.java:53: error: cannot find symbol consumes = {MediaType.APPLICATION_XML_VALUE, MediaType.APPLICATION_JSON_VALUE}, ^ symbol: method consumes() location: @interface org.springframework.web.bind.annotation.RequestMapping
Method definition:
@RequestMapping(value = "/getcustomer/{id}", method = {RequestMethod.GET}, consumes = {MediaType.APPLICATION_XML_VALUE, MediaType.APPLICATION_JSON_VALUE}, produces = {MediaType.APPLICATION_XML_VALUE, MediaType.APPLICATION_JSON_VALUE}) @ResponseStatus(HttpStatus.OK) @ResponseBody public com.me.mytestapplication.service.wrapper.customerservice.GetCustomerResponse getCustomer(@PathVariable("id") Integer id) throws BusinessException, ServiceException {
The text was updated successfully, but these errors were encountered:
Hm. We use wsdoc with 1.7 all the time. I wonder what the difference is between our environments.
How are you building wsdoc?
On Wed, Dec 4, 2013 at 1:45 PM, grifmeister [email protected]:
Throws error on Maven build running AnnotationProcessor same config works with Java 1.6: [INFO] diagnostic C:\Users\me\dev\workspaces\TNT\mytestapplication-service\src\main\generated\java\com\me\mytestapplication\resource\CustomerServiceResource.java:53: error: cannot find symbol consumes = {MediaType.APPLICATION_XML_VALUE, MediaType.APPLICATION_JSON_VALUE}, ^ symbol: method consumes() location: @interface https://github.com/interfaceorg.springframework.web.bind.annotation.RequestMapping — Reply to this email directly or view it on GitHubhttps://github.com//issues/19 .
[INFO] diagnostic C:\Users\me\dev\workspaces\TNT\mytestapplication-service\src\main\generated\java\com\me\mytestapplication\resource\CustomerServiceResource.java:53: error: cannot find symbol consumes = {MediaType.APPLICATION_XML_VALUE, MediaType.APPLICATION_JSON_VALUE}, ^ symbol: method consumes() location: @interface https://github.com/interfaceorg.springframework.web.bind.annotation.RequestMapping
— Reply to this email directly or view it on GitHubhttps://github.com//issues/19 .
Patrick Linskey 202 669 5907
Sorry, something went wrong.
No branches or pull requests
Throws error on Maven build running AnnotationProcessor same config works with Java 1.6:
[INFO] diagnostic C:\Users\me\dev\workspaces\TNT\mytestapplication-service\src\main\generated\java\com\me\mytestapplication\resource\CustomerServiceResource.java:53: error: cannot find symbol
consumes = {MediaType.APPLICATION_XML_VALUE, MediaType.APPLICATION_JSON_VALUE},
^
symbol: method consumes()
location: @interface org.springframework.web.bind.annotation.RequestMapping
Method definition:
The text was updated successfully, but these errors were encountered: