Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

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

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Roger Yates
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Hey cool! They got a blimp! But I have a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!