[ 
https://issues.apache.org/jira/browse/WW-5150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454813#comment-17454813
 ] 

Lukasz Lenart commented on WW-5150:
-----------------------------------

Please use English language, I don't speak Spanish. 

> Element type "struts" must be declared
> --------------------------------------
>
>                 Key: WW-5150
>                 URL: https://issues.apache.org/jira/browse/WW-5150
>             Project: Struts 2
>          Issue Type: Bug
>            Reporter: Paniagua
>            Priority: Major
>
> Buenas tardes,
>  
> nos ha ocurrido un problema el fin de semana que nos impedía acceder a la 
> aplicación.
> El error en el log es:
> Element type "struts" must be declared. at (null:28:9)
> org.xml.sax.SAXParseException; systemId: 
> jar:file:/var/apache-tomcat-7.0.85/webapps/oegam2/WEB-INF/lib/struts2-spring-plugin-2.3.8.jar!/struts-plugin.xml;
>  lineNumber: 28; columnNumber: 9; Element type "struts" must be declared.
> En nuestro struts-plugin.xml tenemos la llamada indicado
> <!DOCTYPE struts PUBLIC
> "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
> "http://struts.apache.org/dtds/struts-2.0.dtd";>
>  
> De esta forma debería ir a la URL y descargar el dtd pero nos da ese error 
> anterior indicado.
> Para solventarlo tuvimos que modificar el jar y añadirle al mismo nivel el 
> .DTD y quitar la llamada a la URL dejando el nombre nada mas
> <!DOCTYPE struts PUBLIC
> "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
> "struts-2.0.dtd">
>  
> Nos podrían indicar a que se debe ese problema?
>  
> Muchas gracias



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to