Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Spring
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Spring
Tiles configurer error
Prashant Ameta
Greenhorn
Posts: 11
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All ,
I am new to Spring.
I created an application,deployed it ,it worked fine .
But suddenly it started giving me this error :
The content of element type "tiles-definitions" must match "(definition)+".
.springframework.beans.factory.support.DefaultListableBeanFactory@14a9387 2013-05-14 13:15:04,210 - INFO - TilesConfigurer - TilesConfigurer: adding defin itions [/WEB-INF/tiles-definitions.xml] 2013-05-14 13:15:04,226 - INFO - PropertyMessageResources - Initializing, config ='org.apache.struts.util.LocalStrings', returnNull=true 2013-05-14 13:15:04,335 - ERROR - Digester - Parse Error at line 2254 column 21: The content of element type "tiles-definitions" must match "(definition)+". org.xml.sax.SAXParseException; lineNumber: 2254; columnNumber: 21; The content o f element type "tiles-definitions" must match "(definition)+". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un known Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown S ource) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow n Source)
I searched it on internet , it did not help.
Thanks in advance.
palak kumar
Ranch Hand
Posts: 57
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It means that you have accidentally added some irrelevant characters to the </definition> tag. For eg:
<definition name="student.list" extends="authenticated"> <put-attribute name="body" value="/WEB-INF/jsp/body/manageStudentInfo/viewStudentsList.jsp"/> </definition>this is a mistake
In this piece of code the text "this is a mistake" should not be here. It basically happens unknowingly.
OCPJP 6
If you were a tree, what sort of tree would you be? This tiny ad is a poop beast.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Eroor Parsing xml: New Error raised
struts1.2.5
Multiple Servlet Configuration in web.xml
problem in parsing struts-config
SAX parser exception
More...