跟print.AgentBean没关系,我又重新建立了一个CMP,放置于另外的包,仍然有上面的错, 只是将 "CMP.ejbgrpx": ERROR: Error from ejbc: Unable to load a class specified in your ejb-jar.xml: Class bytes found but defineClass()failed for: 'print.AgentBean' 中的print.AgentBean换为了test.AgentBean(test是新建的包)
只是将
"CMP.ejbgrpx": ERROR: Error from ejbc: Unable to load a class specified in your ejb-jar.xml: Class bytes found but defineClass()failed for: 'print.AgentBean'
中的print.AgentBean换为了test.AgentBean(test是新建的包)
建议用多中方法试验
1。重建一个简单的数据库来生成cmp测试
2。也许是jb8本身的问题,用jb7试一下