JSF is quite complex due to its class loading mechanism. If you use Pax-Web , you can use JSF, although this requires special processing. Contact the OPS4j community for more information. Another hint, since you are trying to create your own "web container", I do not recommend this, trying to use an existing one makes life easier :)
source share