細かい処理され、ここに私のweb.xmlのヘッダである:に基づいてEclipseは私のweb.xmlに問題を報告したが、それは私がEclipseでのGoogleプラグインではGoogle App Engineを使用しています
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
GAEのドキュメントのいくつかは、私はこれを追加しました:
CVC-複雑-type.2.4.a:無効な内容だったFしかしEclipseは、 "URLパターン" でエラーを報告
要素 'url-pattern'で始まるound。<security-constraint> <web-resource-collection> <url-pattern>/tasks/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>admin</role-name> </auth-constraint> </security-constraint>
'{"http://java.sun.com/xml/ns/javaee":web-resource-name}"のいずれかが必要です。
私はアプリを起動できますが、web.xmlファイルをうまく処理しているようですが、Eclipseがエラーを報告しているというのは気に入らないのです。何が問題ですか?
サンプル・コードのplzを教えてくださいでし – SakthiSureshAnand
ジュニパーの答え@を見てみましょう – peshkira