Jie--

When building your web applcation your application needs to associate the 
IDentifier 'bean'with a class such as this declaration
.\struts-2.0.1\apps\struts2-showcase-2.0.1\web-inf\applicationContext.xml 
(found in sample struts2-showcase-2.0.1.war)

    <!-- Showcase's CustomFreemarkerManager example -->
    <bean id="customFreemarkerManager" 
class="org.apache.struts2.showcase.freemarker.CustomFreemarkerManager">
        <constructor-arg index="0">
            <ref bean="customFreemarkerManagerUtil" />
        </constructor-arg>      
    </bean>

Does this help?
M-
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "xiao jie" <[EMAIL PROTECTED]>
To: <struts-user@jakarta.apache.org>
Sent: Monday, January 29, 2007 7:59 PM
Subject: upgrade to 2.0.4


hi:
I tried to update my application from 2.0.1 to 2.0.4 and I have downloaded all 
the nightly built 
2.0.4 jar files and plugins i needed and put them under WEB-INF/lib (do I have 
to remove the struts2-core-2.0.1 as well), is that all I have to do?
but I ended up with errors saying 
Element type "bean" must be declared. 
File:jar:file:/C:/Documents%20and%20Settings/st.Pamann/project2.0.4/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/struts2-blank-2.0.1/WEB-INF/lib/struts2-core-2.0.4-SNAPSHOT-20070128.jar!/struts-default.xml

any suggestions on this will be appreciated!
thanks


 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

Reply via email to