I have written web services of my Java project using resteasy. For the documentation process i want these web services to be captured using RAML.
In the second link i started the steps for JAX-RS to RAML and followed all the steps.
Instead of using the version 0.0.1-SNAPSHOT or 1.3.4-SNAPSHOT i am using 1.3.3 as i was getting an error using the first two version.
Failed to read artifact descriptor for org.raml.plugins:jaxrs-raml-maven-plugin:jar:1.3.4-SNAPSHOT: Could not find artifact org.raml:jaxrs-to-raml:pom:1.3.4-SNAPSHOT in Nexus-One (mvn-repo/nexus/content/groups/One) -> [Help 1]
So now using 1.3.3 resolved this but i am getting error of NoSuchMethodError
[ERROR] Failed to execute goal org.raml.plugins:jaxrs-raml-maven-plugin:1.3.3:generate-raml (default) on project spectralight: Execution default of goal org.raml.plugins:jaxrs-raml-maven-plugin:1.3.3:generate-raml failed: An API incompatibility was encountered while executing org.raml.plugins:jaxrs-raml-maven-plugin:1.3.3:generate-raml: java.lang.NoSuchMethodError: com.mulesoft.jaxrs.raml.annotation.model.IParameterModel.getType()Ljava/lang/String;
So i went to check the class file of IParameterModel in com.mulesoft.jaxrs.raml.annotation.model package and it turns out that this interface does not have the method.
Please can anyone specify how to resolve this error and generate raml files for my webservices.