jorge.garay Posted January 19, 2016 Posted January 19, 2016 Principal [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executionOwnerVoter': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProvider': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProviderTarget' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'userAuthorityService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAuthorityService' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Dialect class not found: com.jaspersoft.ji.hibernate.dialect.OracleJICustomDialect Log full ---------------------------------------------------------------------- Running JasperReports Server install script at 2016-01-19_16-36 ---------------------------------------------------------------------- [minimal] Running install-minimal-ce Ant task ---------------------------------------------------------------------- Buildfile: C:UsersJorgeJaspersoftbuildomaticbuild.xml [echo] Filtering properties (cleaning out blank spaces) [echo] creating C:/Users/Jorge/Jaspersoft/buildomatic/build_conf/default [delete] Deleting directory C:UsersJorgeJaspersoftbuildomaticbuild_confdefault [mkdir] Created dir: C:UsersJorgeJaspersoftbuildomaticbuild_confdefault [copy] Copying 1 file to C:UsersJorgeJaspersoftbuildomaticbuild_confdefault [copy] Copying 1 file to C:UsersJorgeJaspersoftbuildomaticbuild_confdefault [copy] Copying 1 file to C:UsersJorgeJaspersoftbuildomaticbuild_confdefault [copy] Copying 1 file to C:UsersJorgeJaspersoftbuildomaticbuild_confdefault [echo] dbSidOrServiceName = /jdbc:oracle:thin:@192.168.1.3:1521:orcl [echo] dbSidOrServiceNameProp = ServiceName=jdbc:oracle:thin:@192.168.1.3:1521:orcl [copy] Copying 1 file to C:UsersJorgeJaspersoftbuildomaticbuild_confdefault [echo] chkAndSetLocaleDbSettings: parse: scripts.properties for db commands [copy] Copying 32 files to C:UsersJorgeJaspersoftbuildomaticbuild_confdefault [copy] Copying 1 file to C:UsersJorgeJaspersoftbuildomaticbuild_confdefault [copy] Copying 1 file to C:UsersJorgeJaspersoftbuildomaticbuild_confdefaultwebappWEB-INF [echo] using settings file: C:/Users/Jorge/Jaspersoft/buildomatic/build_conf/default/maven_settings.xml set-minimal-mode: gen-config: [echo] Regen config files if they have already been cleaned: [echo] currentConf= C:/Users/Jorge/Jaspersoft/buildomatic/build_conf/default [echo] chkAndSetLocaleDbSettings: parse: scripts.properties for db commands test-ce-all-props: [echo] Checking properties: [echo] dbType=oracle [echo] dbHost=192.168.1.3 [echo] dbUsername=jasperserver [echo] dbPassword=********** [echo] dbPort=1521 [echo] js.dbName=jasperserver [echo] sugarcrm.dbName=sugarcrm [echo] foodmart.dbName=foodmart [echo] webAppNameCE=jasperserver [echo] appServerType=glassfish3 [echo] appServerDir=C:UsersJorgeGlassFish_Server check-dbtype-ce: test-appServerType-ce: do-install-upgrade-test: [echo] Checking DBMS host and port: [echo] About to validate host: 192.168.1.3 [echo] Host 192.168.1.3 is OK [echo] Done validating host: 192.168.1.3 [echo] About to validate port: 192.168.1.3:1521 [echo] Port 1521 is OK [echo] Done validating port: 192.168.1.3:1521 [echo] Validating administrative database connection at jdbc:oracle:thin:@192.168.1.3:1521:orcl. Phase: [test] [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [select-sql] Executing commands [select-sql] 1 of 1 SQL statements executed successfully [echo] Connection OK [echo] Validating JasperServer database connection at jdbc:oracle:thin:@192.168.1.3:1521:orcl. Phase: [test] [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [select-sql] Executing commands [select-sql] 1 of 1 SQL statements executed successfully [echo] Database doesn't exist. Treating problem with JDBC connection as noncritical. Proceeding to next step do-pre-install-test: [echo] Validating FoodMart database connection at jdbc:oracle:thin:@192.168.1.3:1521:orcl. Phase: [test] [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [select-sql] Executing commands [select-sql] 1 of 1 SQL statements executed successfully [echo] Database doesn't exist. Treating problem with JDBC connection as noncritical. Proceeding to next step [echo] Validating SugarCRM database connection at jdbc:oracle:thin:@192.168.1.3:1521:orcl. Phase: [test] [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [select-sql] Executing commands [select-sql] 1 of 1 SQL statements executed successfully [echo] Database doesn't exist. Treating problem with JDBC connection as noncritical. Proceeding to next step pre-install-test-ce: recreate-js-db: [echo] Validating JasperServer database connection at jdbc:oracle:thin:@192.168.1.3:1521:orcl. Phase: [before] [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [select-sql] Executing commands [select-sql] 1 of 1 SQL statements executed successfully [echo] Database doesn't exist. Treating problem with JDBC connection as noncritical. Proceeding to next step [echo] Filtering properties (cleaning out blank spaces) [echo] chkAndSetLocaleDbSettings: parse: scripts.properties for db commands [echo] using settings file: C:/Users/Jorge/Jaspersoft/buildomatic/build_conf/default/maven_settings.xml create-js-db: [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [advanced-sql] Executing commands [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 2 of 2 SQL statements executed successfully [echo] Validating JasperServer database connection at jdbc:oracle:thin:@192.168.1.3:1521:orcl. Phase: [after] [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [select-sql] Executing commands [select-sql] 1 of 1 SQL statements executed successfully [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [select-sql] Executing commands [select-sql] 1 of 1 SQL statements executed successfully [echo] Connection OK fill-js-ce-db-minimal: [echo] Filtering properties (cleaning out blank spaces) [echo] chkAndSetLocaleDbSettings: parse: scripts.properties for db commands [echo] using settings file: C:/Users/Jorge/Jaspersoft/buildomatic/build_conf/default/maven_settings.xml init-js-db-ce: [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [advanced-sql] Executing resource: C:UsersJorgeJaspersoftbuildomaticinstall_resourcessqloraclequartz.ddl [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 0 rows affected [advanced-sql] 32 of 32 SQL statements executed successfully [echo] Filtering properties (cleaning out blank spaces) [echo] chkAndSetLocaleDbSettings: parse: scripts.properties for db commands [echo] using settings file: C:/Users/Jorge/Jaspersoft/buildomatic/build_conf/default/maven_settings.xml import-minimal-ce: [echo] [echo] Property values (in install.xml): [echo] archiveArg = --input-zip=C:/Users/Jorge/Jaspersoft/buildomatic/install_resources/export/js-catalog-minimal-ce.zip [echo] dbType = oracle [echo] jdbcJar = ojdbc6-11.jar [echo] currentConf = C:/Users/Jorge/Jaspersoft/buildomatic/build_conf/default [echo] importExportConfig = C:/Users/Jorge/Jaspersoft/buildomatic/conf_source/ieCe [echo] [echo] Validating JasperServer database connection at jdbc:oracle:thin:@192.168.1.3:1521:orcl. Phase: [import-export-test] [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [select-sql] Executing commands [select-sql] 1 of 1 SQL statements executed successfully [echo] For JDBC driver the artifactId and version properties are set: [echo] maven.jdbc.artifactId=ojdbc6 [echo] maven.jdbc.version=11 [echo] Specified JDBC driver jar exists [select-sql] Executing commands [select-sql] 1 of 1 SQL statements executed successfully [echo] Connection OK [java] First resource path:C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext-cascade.xml [java] Started to load resources [java] Resource name: applicationContext.xml [java] Resource name: applicationContext-cascade.xml [java] Resource name: applicationContext-data-snapshots.xml [java] Resource name: applicationContext-events-logging.xml [java] Resource name: applicationContext-export-config.xml [java] Resource name: applicationContext-export-import.xml [java] Resource name: applicationContext-logging.xml [java] Resource name: applicationContext-olap-connection.xml [java] Resource name: applicationContext-report-scheduling.xml [java] Resource name: applicationContext-search.xml [java] Resource name: applicationContext-security.xml [java] Resource name: applicationContext-themes.xml [java] Resource name: applicationContext-virtual-data-source.xml [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executionOwnerVoter': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProvider': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProviderTarget' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'userAuthorityService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAuthorityService' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Dialect class not found: com.jaspersoft.ji.hibernate.dialect.OracleJICustomDialect [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executionOwnerVoter': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProvider': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProviderTarget' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'userAuthorityService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAuthorityService' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Dialect class not found: com.jaspersoft.ji.hibernate.dialect.OracleJICustomDialect [java] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:306) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607) [java] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472) [java] at com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:129) [java] at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:82) [java] at com.jaspersoft.jasperserver.export.ImportCommand.main(ImportCommand.java:43) [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProvider': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProviderTarget' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'userAuthorityService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAuthorityService' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Dialect class not found: com.jaspersoft.ji.hibernate.dialect.OracleJICustomDialect [java] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) [java] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1442) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:305) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) [java] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:442) [java] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:416) [java] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:550) [java] at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:155) [java] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:92) [java] at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:303) [java] ... 13 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityContextProviderTarget' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'userAuthorityService' while setting bean property 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAuthorityService' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Dialect class not found: com.jaspersoft.ji.hibernate.dialect.OracleJICustomDialect [java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329) [java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.aop.framework.ProxyFactoryBean.freshTargetSource(ProxyFactoryBean.java:571) [java] at org.springframework.aop.framework.ProxyFactoryBean.getSingletonInstance(ProxyFactoryBean.java:305) [java] at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:242) [java] at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) [java] ... 23 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAuthorityService' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Dialect class not found: com.jaspersoft.ji.hibernate.dialect.OracleJICustomDialect [java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329) [java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323) [java] ... 36 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:UsersJorgeJaspersoftbuildomaticconf_sourceieCeapplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Dialect class not found: com.jaspersoft.ji.hibernate.dialect.OracleJICustomDialect [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323) [java] ... 46 more [java] Caused by: org.hibernate.HibernateException: Dialect class not found: com.jaspersoft.ji.hibernate.dialect.OracleJICustomDialect [java] at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:160) [java] at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:100) [java] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:117) [java] at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) [java] at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) [java] at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860) [java] at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779) [java] at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) [java] ... 53 more [java] Caused by: java.lang.ClassNotFoundException: com.jaspersoft.ji.hibernate.dialect.OracleJICustomDialect [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [java] at java.lang.Class.forName0(Native Method) [java] at java.lang.Class.forName(Class.java:171) [java] at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192) [java] at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:157) [java] ... 63 more BUILD FAILED C:UsersJorgeJaspersoftbuildomaticbindb-common.xml:843: The following error occurred while executing this line: C:UsersJorgeJaspersoftbuildomaticbinimport-export.xml:277: The following error occurred while executing this line: C:UsersJorgeJaspersoftbuildomaticbinimport-export.xml:158: Java returned: -1 Total time: 16 seconds Checking Ant return code: OK ----------------------------------------------------------------------
Solution hozawa Posted January 19, 2016 Solution Posted January 19, 2016 I think it was just that community version only supported Postgresql and MySQL as the repository database. You'll need to get the commercial version if you want to use Oracle.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now