示例
public class
BeanClass
implements
javax.ejb.EntityBean {
public void
manageThread(){
//..
Thread thread =
new
Thread();
thread.start();
}
//other methods that must implement the interface
}
解决方案
不要以任何方式启动、停止或管理 java.lang.Thread 对象。