Ciao a tutti,
Ho un problema nel deploy di un servizio rest realizzato con Spring e NetBeans.
L'errore visualizzato dall 'IDE è il seguente :
org.apache.jasper.JasperException: PWC6336: Illegal TLD path /WEB-INF/tags/c.tld, must not start with "/WEB-INF/tags
Il file web.xml è il seguente :
Grazie in anticipo.codice:<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance xmlns="http://java.sun.com/xml/ns/javaee xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd id="WebApp_ID" version="2.5"> <display-name>esempio Spring REST - orario treni</display-name> <welcome-file-list> <welcome-file>/WEB-INF/jsp/trainsView.jsp</welcome-file> </welcome-file-list> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/rest-context.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <servlet> <servlet-name>rest</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>rest</servlet-name> <url-pattern>/rest/*</url-pattern> </servlet-mapping> <filter> <filter-name>UrlRewriteFilter</filter-name> <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class> </filter> <filter-mapping> <filter-name>UrlRewriteFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <jsp-config> <taglib> <taglib-uri>http://java.sun.com/jsp/jstl/core /taglib-uri <taglib-location>/WEB-INF/tags</taglib-location> </taglib> </jsp-config> </web-app>
Saluti.