Skip to content

Commit

Permalink
Fix an Eclipse error while parsing web.xml
Browse files Browse the repository at this point in the history
Referenced file contains errors ("http://xmlns.jcp.org/xml/ns/javaee/
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd")

Also, indent consistently.
  • Loading branch information
berezovskyi committed Jun 19, 2021
1 parent 08aa6af commit 6acbeae
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions server/oauth-webapp/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,28 @@


<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<display-name>Eclipse Lyo Sample OAuth Provider</display-name>
<description>An example demonstrating the Lyo OAuth provider framework.</description>
<listener>
<listener-class>org.eclipse.lyo.server.oauth.webapp.services.OAuthServletListener</listener-class>
</listener>
<!--<servlet>
<servlet-name>JAX-RS Services</servlet-name>
<servlet-class>
org.apache.wink.server.internal.servlet.RestServlet
</servlet-class>
<init-param>
<param-name>applicationConfigLocation</param-name>
<param-value>/WEB-INF/oauth-services</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>JAX-RS Services</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>-->
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee/
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<display-name>Eclipse Lyo Sample OAuth Provider</display-name>
<description>An example demonstrating the Lyo OAuth provider framework.</description>
<listener>
<listener-class>org.eclipse.lyo.server.oauth.webapp.services.OAuthServletListener
</listener-class>
</listener>
<!-- <servlet>
<servlet-name>JAX-RS Services</servlet-name>
<servlet-class>
org.apache.wink.server.internal.servlet.RestServlet
</servlet-class>
<init-param>
<param-name>applicationConfigLocation</param-name>
<param-value>/WEB-INF/oauth-services</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>JAX-RS Services</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping> -->
</web-app>

0 comments on commit 6acbeae

Please sign in to comment.