The following error occurs in an older WebDSL version, when the application is deployed to Tomcat 7:

The servlets named [mainservlet] and [mainservlet] are both mapped to the url-pattern [/pagenotfound/*] which is not permitted

This can be fixed manually in a deployed application by deleting the following fragment from the top of webapps/ROOT/WEB-INF/web.xml:

<servlet-mapping>
    <servlet-name>mainservlet</servlet-name>
    <url-pattern>/pagenotfound/*</url-pattern>
</servlet-mapping>

The issue has been fixed in the current WebDSL version.

Submitted by Danny Groenewegen on 22 May 2013 at 13:44

On 22 May 2013 at 13:45 Danny Groenewegen commented:

fixed


On 22 May 2013 at 13:45 Danny Groenewegen closed this issue.

Log in to post comments