2017-06-24 7:21 GMT+02:00 ssmtpmailtesting ssmtpmailtesting
<ssmtpmailtest...@gmail.com>:
> pom.xml =
>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>com.training</groupId>
>   <artifactId>struts2_maven</artifactId>
>   <packaging>war</packaging>
>   <version>0.0.1-SNAPSHOT</version>
>   <name>struts2_maven Maven Webapp</name>
>   <url>http://maven.apache.org</url>
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.struts</groupId>
>       <artifactId>struts2-core</artifactId>
>       <version>2.5.10.1</version>
>     </dependency>
>     <dependency>
>       <groupId>javax.servlet</groupId>
>       <artifactId>javax.servlet-api</artifactId>
>       <version>4.0.0-b01</version>

I would rather use a stable version

> In web.xml web-app_2_5.dtd and  Web Application 2.3 don't work. It
> gets error: "Referenced file contains errors
> (http://java.sun.com/dtd/web-app_2_5.dtd). For more information, right
> click on the message in the Problems View
>  and select "Show Details..."
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!DOCTYPE web-app PUBLIC
> "-//Sun Microsystems, Inc.//DTD Web Application 2.5//EN"
> "http://java.sun.com/dtd/web-app_2_5.dtd";>

You are using wrong definition, please check this out
http://wiki.metawerx.net/wiki/Web.xmlDTDAndXSD


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to