ich Eclipse verwenden mars.2 Ich versuche, bestehende ecplipse Projekt zu importieren und ich erhalte eine Fehlermeldung:Eclipse-Fehler. Ventil Der Inhalt Elementtyp „jboss-web“ müssen zusammenpassen ... Jboss-web.xml
The content of element type "jboss-web" must match "(class-loading?,security-domain?,context-root?,virtual-host*,use-session-cookies?,replication-config?,resource-env-ref*,resource-ref*,security-role*,ejb-ref*,ejb-local-ref*,message-destination-ref*,message-destination*,webservice-description*,service-ref*,depends*,servlet*,authenticators*)".
Jboss-web.xml Datei
<!DOCTYPE jboss-web PUBLIC
"-//JBoss//DTD Web Application 2.4//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
<jboss-web>
<security-domain>java:/jaas/SPNEGO</security-domain>
<valve>
<class-name>org.jboss.security.negotiation.NegotiationAuthenticator</class-name>
</valve>
</jboss-web>
ich verstehe nicht, warum jboss-web_4_0.dtd nicht vavlve enthält. Wenn ich Ventil lösche - der Fehler verschwindet. Aber ich brauche es. Bitte helfen Sie mir.