axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert lazarski <robertlazar...@gmail.com>
Subject Re: A spring resource xml file, Axis, Tomcat, and Eclipse can be found but can't be found
Date Mon, 07 Dec 2009 21:27:39 GMT
On Mon, Dec 7, 2009 at 5:55 PM, nhcoder <andrewnbenjamin@hotmail.com> 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

Mime
View raw message