anonymous wrote : Only a type can be imported. com.sample.action.LoginBean resolves to a package Isn't this the cause? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172747#4172747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172747