Byteman two questions

Version 1

    Hello, I don't know the right place where I can ask. But there is no place. So.. understand my desperate situations. I have been stuck in two problems.

    First. Using BMUnit with Spring Application without maven build feature, I can't load the spring beans. Even if it runs with SpringJUnit4ClassRunner and give bm rules in each test method, it throws the exception that it can not find spring dependencies.

     

    Second, I want to throw the exception during the process of junit or bmunit  operation. I tried this to two kinds of exception. One is the exact class that I defined. The other is the class related file input stream. But, First one is not working, Second one is working but. Junit recognize that it is not error.

     

    Please fix my problems. Many Thanks in advance.!