On Mon, Dec 7, 2009 at 5:55 PM, nhcoder <[email protected]> wrote:
>
> Hi,
>
>
> Since I need to deploy it on a production machine, I packaged my service
> into an aar file using the axis2 packaging Eclipse plugin, made absolutely
> sure the jar file with the Spring xml file was in the aar file, and decided
> to deploy it to an external Tomcat instance.  Now when I hit the service I
> get the following error:
>
> Exception parsing XML document from class path resource
> [license-beans2.xml]; nested exception is java.io.FileNotFoundException:
> class path resource [license-beans2.xml] cannot be opened because it does
> not exist.
>

You probably don't need any of your spring stuff in the aar file - try
putting everything spring related in WEB-INF/classes. Try that and let
us know what happens.

- R

Reply via email to