jasper installation. community version

1

Hello,
I want to install jasper server 7.2.0 from the war file for use in production (according to the documentation). but I find myself confronted with the error below. what to do ?

 [java] WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/C:/jasperreports-server-cp-7.2.0-bin/buildomatic/conf_source/ieCe/lib/jaxb-impl-2.1.5.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
     [java] WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
     [java] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
     [java] WARNING: All illegal access operations will be denied in a future release
     [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:\jasperreports-server-cp-7.2.0-bin\buildomatic\conf_source\ieCe\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]
     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1631)
     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
     [java]     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
     [java]     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
     [java]     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
     [java]     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
     [java]     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)
     [java]     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
     [java]     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
     [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.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]
     [java]     at org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer(ComponentTuplizerFactory.java:98)
     [java]     at org.hibernate.tuple.component.ComponentTuplizerFactory.constructDefaultTuplizer(ComponentTuplizerFactory.java:119)
     [java]     at org.hibernate.tuple.component.ComponentMetamodel.<init>(ComponentMetamodel.java:68)
     [java]     at org.hibernate.mapping.Component.getType(Component.java:169)
     [java]     at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:422)
     [java]     at org.hibernate.mapping.RootClass.validate(RootClass.java:266)
     [java]     at org.hibernate.boot.internal.MetadataImpl.validate(MetadataImpl.java:329)
     [java] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:\jasperreports-server-cp-7.2.0-bin\buildomatic\conf_source\ieCe\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]    at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:451)
     [java]
     [java]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:710)
     [java]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
     [java]     at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:511)
     [java]     at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:495)
     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1689)
     [java]     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1627)
     [java]     ... 12 more
     [java] Caused by: java.lang.reflect.InvocationTargetException
     [java]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     [java]     at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     [java]     at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
     [java]     at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
     [java]     at org.hibernate.tuple.component.ComponentTuplizerFactory.constructTuplizer(ComponentTuplizerFactory.java:95)
     [java]     ... 25 more
     [java] Caused by: java.lang.NullPointerException
     [java]     at javassist.util.proxy.SecurityActions.setAccessible(SecurityActions.java:103)
     [java]     at javassist.util.proxy.DefineClassHelper.toClass3(DefineClassHelper.java:151)
     [java]     at javassist.util.proxy.DefineClassHelper.toClass2(DefineClassHelper.java:134)
     [java]     at javassist.util.proxy.DefineClassHelper.toClass(DefineClassHelper.java:95)
     [java]     at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:131)
     [java]     at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:530)
     [java]     at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:515)
     [java]     at javassist.util.proxy.ProxyFactory.createClass1(ProxyFactory.java:451)
     [java]     at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:422)
     [java]     at org.hibernate.bytecode.internal.javassist.ProxyFactoryFactoryImpl$BasicProxyFactoryImpl.<init>(ProxyFactoryFactoryImpl.java:70)
     [java]     at org.hibernate.bytecode.internal.javassist.ProxyFactoryFactoryImpl.buildBasicProxyFactory(ProxyFactoryFactoryImpl.java:51)
     [java]     at org.hibernate.tuple.component.PojoComponentTuplizer$ProxiedInstantiator.<init>(PojoComponentTuplizer.java:164)
     [java]     at org.hibernate.tuple.component.PojoComponentTuplizer.buildInstantiator(PojoComponentTuplizer.java:127)
     [java]     at org.hibernate.tuple.component.AbstractComponentTuplizer.<init>(AbstractComponentTuplizer.java:55)
     [java]     at org.hibernate.tuple.component.PojoComponentTuplizer.<init>(PojoComponentTuplizer.java:41)
     [java]     ... 31 more

BUILD FAILED
C:\jasperreports-server-cp-7.2.0-bin\buildomatic\bin\db-common.xml:1462: The following error occurred while executing this line:
C:\jasperreports-server-cp-7.2.0-bin\buildomatic\bin\import-export.xml:321: The following error occurred while executing this line:
C:\jasperreports-server-cp-7.2.0-bin\buildomatic\bin\import-export.xml:199: Java returned: -1

Total time: 15 seconds
Checking Ant return code: OK

tiamtienkam's picture
Joined: Aug 20 2019 - 2:50am
Last seen: 1 month 1 day ago

0 Answers:

No answers yet
Feedback