Hi,Need help to fix the exception for not found exception for static resources 
in a RestEasy-Spring integrated 
application.org.jboss.resteasy.spi.NotFoundException: Could not find resource 
for relative : /js/db-form.js of full path: 
http://localhost:8080/my-app/js/db-form.jsThrowing warnings in logs for most of 
static resources like .css, .js, .html and .png..., but there is no issue to 
load all these files in the application browser. Why the warnings are spitting 
out. 
Please find my web.xml below<listener>        
<listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class> 
   </listener>    <listener>    
<listener-class>org.jboss.resteasy.plugins.spring.SpringContextLoaderListener</listener-class> 
 </listener>    <servlet>        
<servlet-name>db-dispatch</servlet-name>        
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> 
       <load-on-startup>1</load-on-startup>  
  </servlet>
    <servlet-mapping>        
<servlet-name>db-dispatcher</servlet-name>      
  <url-pattern>/</url-pattern>    
</servlet-mapping>
    <welcome-file-list>        
<welcome-file>index.html</welcome-file>    
</welcome-file-list>
    <filter>        
<filter-name>springSecurityFilterChain</filter-name>    
    <filter-class>            
org.springframework.web.filter.DelegatingFilterProxy</filter-class>  
  </filter>    <filter-mapping>      
  <filter-name>springSecurityFilterChain</filter-name>  
      <url-pattern>/*</url-pattern>    
</filter-mapping>
    <context-param>        
<param-name>contextConfigLocation</param-name>      
  <param-value>/WEB-INF/application-security.xml</param-value>

































    </context-param>
What is wrong with config file.
Thanks in advance
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to