File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Spring/*Hibernate*/Struts - Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Spring/*Hibernate*/Struts - "Error parsing XML"" Watch "Spring/*Hibernate*/Struts - "Error parsing XML"" New topic
Author

Spring/*Hibernate*/Struts - "Error parsing XML"

Roger Yates
Ranch Hand

Joined: Aug 31, 2004
Posts: 118
I'm trying to get to grips with Spring/Hibernate/Struts using a cut-down variant of AppFuse. When starting Tomcat (5.5) having deployed my first hibernate definition, I get "Error parsing XML..." as shown in the extract of output below.


I also notice that the output mentions lb1.netster.com. What is 'netster' doing here? Is it causing me a problem? If so, how do I stop the webserver from looking there?

The xml that should be evaluated is as follows:



Any ideas what could be going wrong?
Assume nothing - I could have made some very basic error!

[ March 14, 2006: Message edited by: Roger Yates ]

Cheers,<br />Roger<br />SCJP 1.2, 1.4, SCBCD 1.3, SCWCD 1.4
Roger Yates
Ranch Hand

Joined: Aug 31, 2004
Posts: 118
I don't believe it!

Yes, it was a basic error, but lead me to erroneously believing I'd been infected with some netster spyware that had somehow gotten into Tomcat!

This: should have been this:

Somehow, I managed to type an extra 'u' into sourceforge :roll: .
The domain 'sourcefourge.net' has been taken by netster and the request gets redirected to the netster site, causing my XML to be invalid!

I'd have wasted a lot less time if I'd got an invalid URL message rather than finding netster in my output! Thanks a bunch netster - NOT!

Not amused, but happy to be back in action again.

I considered deleting my former post, but have left it here for the unlikely event that someone else hits the same problem. (And I thought I'd checked that XML soooo carefully!)

For the record, removing that extra 'u' results in a lovely set of creation messages beginning with a 'Mapping Class' message.

[ March 14, 2006: Message edited by: Roger Yates ]
 
 
subject: Spring/*Hibernate*/Struts - "Error parsing XML"
 
Threads others viewed
Classic Tag Handler
i have written code for dom but output given from the exception caught in the code
Problem with hibernate.cfg.xml
TLD
what's the correct format for dozer mapping file?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com