viernes, 24 de junio de 2011

Eclipse error: Referenced file contains errors (http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd) SOLVED

Problem:
Eclipse error:
Referenced file contains errors (http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd). For more information, right click on the
message and select "Show Details..."

If you have this error on Eclipse, even when some days ago it worked just fine, the reason is that the opensymphony.com site has been removed on may 30, 2011.

Solution:
Now the dtd is available at http://struts.apache.org site, even when the dtd file is in the distribution jar, its not a good idea to extract an place locally or absolute path.
So the solution is to change the next lines:

From:

"-//OpenSymphony Group//XWork Validator 1.0.2//EN"
"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd"


To:

"-//Apache Struts//XWork Validator 1.0.2//EN"
"http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"

Here you can find aditional dtd's at http://struts.apache.org/dtds/

Hope it works for you as it works for me!

martes, 8 de enero de 2008

Creando

Ingeniero en Sistemas y ni blog tenia, ya lo empece pero a ver si lo uso...