camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Anstey <>
Subject Re: Jersey Usage: how to generate the resourcedoc.xml file for Jersey RS app
Date Mon, 08 Jun 2009 14:13:48 GMT
The extra resource files should be generated by the maven-wadl-plugin in the
compile phase. So, running mvn compile should generate it for you. Does this

Note that when running the web console with mvn jetty:run (as shown in the
wiki) this is invoked automatically.

On Sat, Jun 6, 2009 at 12:12 AM, alloyer <> wrote:

> When I deploy the camel-web app by running the org.apache.camel.web.Main
> class , it throws an exception:
> java.lang.RuntimeException: Could not load WadlGeneratorConfiguration,
> check
> the configuration of
> ...
> Caused by: java.lang.RuntimeException: Could not load wadl generators from
> wadlGeneratorDescriptions.
>        at
> com.sun.jersey.api.wadl.config.WadlGeneratorConfig.getWadlGenerator(
>        at
> com.sun.jersey.api.wadl.config.WadlGeneratorConfigLoader.loadWadlGeneratorsFromConfig(
>        ... 23 more
> Caused by: java.lang.RuntimeException: The file '/resourcedoc.xml' does not
> exist in the classpath. It's loaded by the generator class, so if you use a
> relative filename it's relative to the generator class, otherwise you might
> want to load it via an absolute classpath reference like
> classpath:/somefile.xml
> I know it lost the resourcedoc.xml, so I copy one from a camel-web.war into
> the camel-web module in my workspace and it really works. But I don't know
> how to generate it?
> I saw in the camel-web war file there are four files:
> application-doc.xml
> application-grammars.xml
> resourcedoc.xml
> application.wadl
> But in my workspace, there are only two:
> application-doc.xml
> application-grammars.xml
> How are the other two generated?
> I deploy it through eclipse IDE, if I do by using Maven command, is there
> some command line that can be helpful for it?
> --
> View this message in context:
> Sent from the Camel Development mailing list archive at


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message