hihi:
thanks for replying, but I am using eclipse, and not sure how to clear the cached version of the Struts XML DTD
can I use eclipse -clean to start eclipse?
thanks a lot!
Pam
Message
From: Martin Gainty <mgainty (AT) hotmail (DOT) com>
To: Struts Users Mailing List <user (AT) struts (DOT) apache.org>
Sent: Monday, January 29, 2007 12:04:18 AM
Subject: Re: Element type "bean" must be declared
Ditto --
If you are using Netbeans I found it helpful to exit the IDE, ensure no java.exe processes are running and clear the deploy folder e.g.
rmdir %CATALINA_HME%/
restart NetBeans
HTH,
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 message (y compris les qui y sont , le cas ) s'adresse au destinataire et peut contenir des renseignements de ou confidentiel. Si vous n' pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
Message
From: "Don Brown" <donald.brown (AT) gmail (DOT) com>
To: "Struts Users Mailing List" <user (AT) struts (DOT) apache.org>
Sent: Sunday, January 28, 2007 6:13 PM
Subject: Re: Element type "bean" must be declared
Your IDE probably has a cached version of the Struts XML DTD; one
which doesn't include a definition for the <beanelement. Try to
clear the cache.
Don
1/28/07, xiao jie <pamxhaha (AT) yahoo (DOT) comwrote:
>hi:
>i am having this error after i upgraded to 2.0.4 :
>any suggestions will be helpful!!
>thanks a lot!
>Pam
>>
>Element type "bean" must be declared
>jar:file:/C:/Documents%20and%!/struts-default.xml
>>
>Stacktraces
>jar:file:/C:/Documents%20and%!/struts-default.xml:8:69
>()
>()
>(DefaultConfiguration.java:97)
>(ConfigurationManager.java:46)
>(DefaultActionMapper.java:238)
>(FilterDispatcher.java:227)
>()
>()
>(StandardWrapperValve.java:213)
>(StandardContextValve.java:178)
>(StandardHostValve.java:126)
>(ErrorReportValve.java:105)
>(StandardEngineValve.java:107)
>(CoyoteAdapter.java:148)
>(Http11Processor.java:869)
>$(Http11BaseProtocol.java:664)
>(PoolTcpEndpoint.java:527)
>()
>$ControlRunnable.run(ThreadPool.java:684)
>java.lang.Thread.run(Unknown Source)
>>
>Element type "bean" must be declared. - jar:file:/C:/Documents%20and%!/struts-default.xml:8:69
>(DomHelper.java:106)
>()
>()
>(DefaultConfiguration.java:97)
>(ConfigurationManager.java:46)
>(DefaultActionMapper.java:238)
>(FilterDispatcher.java:227)
>()
>()
>(StandardWrapperValve.java:213)
>(StandardContextValve.java:178)
>(StandardHostValve.java:126)
>(ErrorReportValve.java:105)
>(StandardEngineValve.java:107)
>(CoyoteAdapter.java:148)
>(Http11Processor.java:869)
>$(Http11BaseProtocol.java:664)
>(PoolTcpEndpoint.java:527)
>()
>$ControlRunnable.run(ThreadPool.java:684)
>java.lang.Thread.run(Unknown Source)
>>
>org.xml.sax.SAXParseException: Element type "bean" must be declared.
>(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>$(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>(Unknown Source)
>(DomHelper.java:104)
>()
>()
>(DefaultConfiguration.java:97)
>(ConfigurationManager.java:46)
>(DefaultActionMapper.java:238)
>(FilterDispatcher.java:227)
>()
>()
>(StandardWrapperValve.java:213)
>(StandardContextValve.java:178)
>(StandardHostValve.java:126)
>(ErrorReportValve.java:105)
>(StandardEngineValve.java:107)
>(CoyoteAdapter.java:148)
>(Http11Processor.java:869)
>$(Http11BaseProtocol.java:664)
>(PoolTcpEndpoint.java:527)
>()
>$ControlRunnable.run(ThreadPool.java:684)
>java.lang.Thread.run(Unknown Source)
>>
>>
>>
>
>Want to start your own business?
>Learn how on Yahoo! Small Business.
>
>>
To unsubscribe, e-mail: user-unsubscribe (AT) struts (DOT) apache.org
For additional commands, e-mail: user-help (AT) struts (DOT) apache.org
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile. Get started!