Opened 5 years ago

Last modified 5 years ago

#5974 new defect

User interface does not work in DP instance

Reported by: vegasm Owned by: daniel
Priority: critical Milestone: DP2.0
Component: TracMeteo Keywords:
Cc: cofinoa

Description

This compilation has been tested using Java6 and tomcat 6 successfully. When it is deployed using tomcat8 and java 8 the user interface does not work.

Error received when accessing http://meteo.unican.es/dp/intro.html :

Estado HTTP 500 - /errors/service.jsp (line: 2, column: 0) Invalid tld file: "/WEB-INF/tags/predictia.tld", see JSP specification section 7.3.1 for more details

Change History (2)

comment:1 Changed 5 years ago by daniel

According to JSP specification section 7.3.1:

When deployed directly into a web application, the tag library descriptor files must always be in the WEB-INF directory, or some subdirectory of it. TLD files should not be placed in /WEB-INF/classes or /WEB-INF/lib, and must not be placed inside /WEB-INF/tags or a subdirectory of it, unless named implicit.tld and intended to configure an implicit tag library with its JSP version and tlib-version.

@vegasm, please, try again moving the file predictia.tld from WEB-INF/tags to WEB-INF/

comment:2 Changed 5 years ago by vegasm

The error is fixed using that solution. A new error is shown:

13-Sep-2016 09:59:08.716 SEVERE [ajp-nio-13309-exec-5] org.apache.catalina.core.ApplicationDispatcher?.invoke Servlet.service() for servlet jsp threw exception

javax.servlet.jsp.JspException?: org.apache.jasper.JasperException?: javax.servlet.ServletException?: javax.servlet.jsp.JspException?: javax.el.ELException: Failed to parse the expression [${class}]

I think the best idea is to fix all the errors locally using tomcat8 as a server in Eclipse because it seems a general problem when using the new JSP specification. Then you can commit the changes and I will merge them into is-enes2.

Note: See TracTickets for help on using tickets.