Jetty/Troubleshooting
From Eclipsepedia
< Jetty
This wiki is in early draft status. See the codehaus wiki for older but more complete documentation.
| Jetty |
| Website |
| Download |
| Community |
| Mailing List • Forums • IRC |
| Bugzilla |
| Open |
| Help Wanted |
| Bug Day |
| Contribute |
| Browse Source • Project Set File |
Saving
Why do I get a "Save could not be completed" error in Eclipse whenever I try to save a file while Jetty is running?
This is a limitation of Windows -- having a file open in one process means that you can't write to that same file with another process. Since Jetty has mapped the file to its cache, which prevents the file from being edited, you'll need to turn off caching to work around the problem. You can turn off caching in the default servlet by setting
<useFileMappedBuffer> to false in webdefault.xml.
