테스트 용 EvenementBean이라는 EJB 2를 만들었습니다. 나는 그것을 삭제했다. 지금 내 된 .ear 프로젝트를 배포하려고 할 때마다, 나는 이러한 오류를 얻을 : 나는 보스-IDE 1.6을 사용하고EJB Spec Violation
WARN [verifier] EJB sepc violation:
Bean: Evenement
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java class
that implements the enterprise bean's business methods in the <ejb-class> element.
Info : class not found on 'com.afb.iard.sina.evenement.EvenementBean' : No
ClassLoaders found for : com.afb.iard.sina.evenement.EvenementBean.
Could not create deployment: File:/E:/DIR1/jboss-4.2.1.GA/server/ABrain/tmp/deploy
/tmp...
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed,
see above.
. 나는 이미 IDE를 여러 번 다시 시작했습니다.
덕분에, 나는 EJB-jar.xml 파일을 삭제하고 다시 배치 (I는 EJB-jar.xml의 생각). 지금, 그것은 잘 작동합니다. 하지만 여전히 클라이언트에서 배포 된 ejbs에 액세스 할 수 없습니다. javax.naming.CommunicationException : URL에 연결할 수 없습니다. 어떻게 해결할 수 있는지 알고 계십니까? – Attilah
아, 전체 파일을 삭제해서는 안되지만 삭제 된 빈이 언급 된 항목 만 삭제해야한다고 생각합니다. MMhh 그렇지 않으면, 아뇨, 죄송합니다. 아마도 당신은 새로운 질문을 열어야 할 것입니다. – OscarRyz
사실, 전체 파일을 삭제하고 JBoss-IDE가 "패킹 실행"버튼을 눌렀을 때 저에게 새로운 파일을 생성 했으므로 아무런 문제가 없습니다. – Attilah