• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Chapter 3 - MalformedByteSequenceException

 
Santiago Bravo
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Im trying to complete the HFJS Chapter 3 exercise but getting a 404 error. I have the same structure exactly as detailed in the chaper - called the app Juice-v1 instead of beer.

The tomcat session indicates there is a parse error in web.xml which has resulted in a MalformedByteSequenceException - screenshot and web.xml atached.

Can anyone give some pointers? My web.xml looks fine


I've also had a look at previous posts with similar problems but still unable to resolve this error.


Thanks

S.



error.jpg
[Thumbnail for error.jpg]
Error
 
Paul Clapham
Sheriff
Posts: 21111
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't like the look of the quotes around your attribute values. Are they ordinary quote characters or did you make this document in Microsoft Word and paste it somewhere? If you did that then you probably have the so-called "smart quotes", which aren't acceptable for delimiting attribute values in XML.
 
Santiago Bravo
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
spot on!


I have the ebook and copied & pasted if direct from the pdf. I didn't even think of that

Thanks alot Paul


S.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic