<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC
"-//JBoss//DTD JBOSS 5.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd">
<jboss>
...
</jboss>
1) open file "eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5....\servers\jboss5.serverdef" 2) find lines "" and " path="${serverRootDirectory}/server/default/lib/mail.jar" />" 3) they should be changed to " " and " "
4) Save and restart eclipse