A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Parse error on web.xml when deployed on Unix
Joined: Aug 01, 2005
Jan 16, 2006 10:07:00
Locally on my windows xp machine my .war application works correctly.
When I deploy to unix I get the following error;
SEVERE: Parse error in default web.xml
: Premature end of file.
HOWEVER, if I "touch" the web.xml file
is able to pick it up and parse it correctly and all is well.
Any thoughts? Thanks!
Joined: Feb 15, 2005
Jan 16, 2006 11:41:00
This is probably due to the different carriage return and line feed (CR/LF) characters used on Windows and Unix.
Here's a link that explains it:
My recommendation is to get a windows text editor that will allow you to save files bound for a Unix system with the proper CR/LF characters.
I agree. Here's the link:
subject: Parse error on web.xml when deployed on Unix
jsp compile error
Struts config works on windows, not on Unix
upload.parseRequest(request); giving null.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014