I think my problem is not 100% solved.
With my code I posted yesterday shown above. I can just access the *.xml file under src/main/webapp/WEB-INF. But as I want to access the *.xml file under scr/main/resources/META-INF, I get exception of FileNotFound. Here is my code:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>Archetype Created Web Application</display-name>
<!-- -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:../resources/META-INF/spring/applicationContext.xml</param-value>
</context-param>
<!-- -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!-- -->
<servlet>
<servlet-name>spring-ws</servlet-name>
<servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
<init-param>
<param-name>transformWsdlLocations</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring-ws</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
I try also:
Code:
...
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>../resources/META-INF/spring/applicationContext.xml</param-value>
</context-param>
I get the same exception.
Someone has idea?