So I got past the initial error by declaring a "file:" like this...

<contextLocations>

<contextLocation>file:${basedir}/src/main/webapp/WEB-INF/hyper9-servlet.xml</contextLocation>
</contextLocations>

Now I get this error instead.  Note, my web service was working just fine
with my PayloadRootAnnotationMethodEndpointMapping class before I introduced
this plugin.....
Caused by: java.lang.ClassNotFoundException:
org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping


On Mon, Jul 27, 2009 at 4:49 PM, Ryan Kruse <[email protected]> wrote:

> I am trying to use the springws-maven-plugin to generate my WSDLs at build
> time and I'm getting errors.
>
> My pom.xml includes this plugin config....
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>springws-maven-plugin</artifactId>
>                 <version>1.0-alpha-1</version>
>                 <executions>
>                     <execution>
>                         <goals>
>                             <goal>springws</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 <configuration>
>                     <contextLocations>
>
> <contextLocation>WEB-INF/hyper9-servlet.xml</contextLocation>
>                     </contextLocations>
>                 </configuration>
>             </plugin>
>
> But no matter what I put for contextLocation I get the following error....
> Caused by: java.io.FileNotFoundException: class path resource
> [WEB-INF/hyper9-servlet.xml] cannot be opened because it does not exist
>
> I've tried prepending with "classpath:", putting in the full path, etc.
> Any help would be greatly appreciated.
>
> Thanks!
> Ryan
>
>
>
>

Reply via email to