Web.xml corrupted....

Discussion in 'Java' started by gbattine, Aug 7, 2006.

  1. gbattine

    gbattine Guest

    Hi guys,
    i'm a new user of jsf.
    i've a question for you.
    I'm trying to start the bookstore6 example included in java5ee example
    dir.
    I've builded the application as said into the tutorial but my
    application gives me an error in web.xml

    Severity Description Resource In Folder Location Creation Time Id
    2 cvc-complex-type.2.4.a: Invalid content was found starting with
    element 'var'. One of
    '{"http://java.sun.com/xml/ns/javaee":description,
    "http://java.sun.com/xml/ns/javaee":display-name,
    "http://java.sun.com/xml/ns/javaee":icon,
    "http://java.sun.com/xml/ns/javaee":base-name}' is
    expected. faces-config.xml bookstore6/WebContent/WEB-INF line 21 7
    agosto 2006 16.42.30 13210



    This is my web.xml,can you help me,please?
    Thanks very much

    This is the piece of web.xml corrupted...

    <?xml version='1.0' encoding='UTF-8'?>

    <!--
    Copyright 2004 Sun Microsystems, Inc. All rights reserved.
    SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    -->


    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
    version="1.2">


    <!-- ========== Application Wide Features
    ================================ -->


    <application>
    <message-bundle>resources.ApplicationMessages</message-bundle>
    <resource-bundle>
    <var>customMessages</var>
    <base-name>resources.CustomMessages</base-name>
    </resource-bundle>
    <locale-config>
    <default-locale>en</default-locale>
    <supported-locale>es</supported-locale>
    <supported-locale>de</supported-locale>
    <supported-locale>fr</supported-locale>
    </locale-config>
    </application>
     
    gbattine, Aug 7, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hardy Wang
    Replies:
    5
    Views:
    521
    Hardy Wang
    Jul 4, 2003
  2. Mike Turpin
    Replies:
    1
    Views:
    449
    Juliano Bortolozzi
    Jul 16, 2003
  3. Gvnn
    Replies:
    2
    Views:
    1,349
    Saravana [MVP]
    Oct 18, 2003
  4. Nicolas LeBlanc
    Replies:
    2
    Views:
    2,696
    Nicolas LeBlanc
    Feb 19, 2004
  5. =?Utf-8?B?TWFnZGVsaW4=?=

    ViewState Corrupted in Web Farm

    =?Utf-8?B?TWFnZGVsaW4=?=, Dec 6, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    2,644
    =?Utf-8?B?TWFnZGVsaW4=?=
    Dec 6, 2004
  6. Replies:
    3
    Views:
    4,604
  7. Eric D. Wilson

    IE Web Controls Tabstrip and Corrupted ListBox ViewState Bug.

    Eric D. Wilson, Jun 30, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    390
    Eric D. Wilson
    Jun 30, 2005
  8. Erik Wasser
    Replies:
    5
    Views:
    851
    Peter J. Holzer
    Mar 5, 2006
Loading...