Abhijit Sarkar I just commented out the alternative class. You can't delete the beans.xml file because Weld SE only scans archives which contain the descriptor (CDI 1.1 implicit bean archives without beans.xml are not supported).