简体   繁体   中英

RAML to JAX-RS Doesn't Generate Code(raml-for-jax-rs Eclipse Plugin)

I have installed the raml-for-jax-rs plugin ( https://github.com/mulesoft/raml-for-jax-rs/blob/master/eclipseplugin.md ) into the Luna and Neon versions of Eclipse. When I right click on my RAML file and choose "Convert RAML to JAX-RS", the dialog box opens, but when I click "OK", nothing is generated. In both installations the version of the plugin installed is:

RAML for JAX-RS 1.3.4.201507132324 com.mulesoft.jaxrs.raml.feature.feature.group MULESOFT

I'm not sure what I could be doing wrong since it's such a simple process. Does this plugin work for anyone else?

You have to select a directory for the Destination folder . Also, I'm not sure how compatible is the plugin with RAML 1.0, documentation doesn't clarify. Below is a small HelloWorld I used.

在此处输入图片说明

Output:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM