임 넷빈즈 자바 EE 프로젝트를 배포하려고 (받는다는 +는 최대 절전 모드 + JSF) 아래 글래스 피쉬자바 넷빈즈 BeanCreationException
임 점점 오류에. 내 데이터베이스 구성이 괜찮 으면 (몇 가지 응용 프로그램에서 두 번 선택) 데이터베이스 자체가 정상이며 온라인 상태입니다.
SEVERE: WebModule[/web-0.1-SNAPSHOT]PWC1275:
Exception sending context initialized event to listener
instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'txManager' defined in ServletContext resource
[/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed;
nested exception is java.lang.IllegalArgumentException:
Property 'sessionFactory' is required
내가 파일 스프링 데이터 소스가 appliacationContext.xml 에 가져온이 포함 \t <콩 ID = "sessionFactory에"클래스 = "org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> \t \t <속성 이름 = "은 dataSource"REF = "c3p0LocalDataSource"/><속성 이름 = "의 NamingStrategy"> \t \t \t <빈 클래스 = "org.hibernate.cfg.ImprovedNamingStrategy"/> \t \t \t \t <속성 이름 = "configurationClass "발 UE = "org.hibernate.cfg.AnnotationConfiguration"/> \t \t <속성 이름 = "hibernateProperties"> \t \t \t \t \t \t \t 가 <키 = "hibernate.dialect를"소품> org.hibernate.dialect. MySQL5InnoDBDialect {...} –
나는 그것이 IDE 또는 glassfish와 뭔가 있다고 믿는다. –
동일한 응용 프로그램이 여러 다른 컴퓨터에서 개발되었고 올바른 실행을하기 때문에 확실하다. –