tomcat - Notice: Undefined property: java_Client::$cancelProxyCreationTag in http://localhost:8080/JavaBridge/java/Java.inc on line 1994 -


i'm trying use jasper report php yii application. i've installed jasper-report-server obviouslly tomcat , apache php. i've make configuration download reports , i'm having error:

fatal error: uncaught [[o:exception]:"java.lang.exception: createinstance failed: new org.altic.jasperreports.jdbcconnection. cause: java.lang.classnotfoundexception: org.altic.jasperreports.jdbcconnection 

screenshot here:

screenshot

fatal error: uncaught [[o:exception]:"java.lang.exception: createinstance failed: new org.altic.jasperreports.jdbcconnection. cause: java.lang.classnotfoundexception: org.altic.jasperreports.jdbcconnection vm: 1.7.0_101@http://java.oracle.com/" at: #-10 org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1702) #-9 org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1547) #-8 java.lang.class.forname0(native method) #-7 java.lang.class.forname(class.java:278) #-6 php.java.bridge.util.classforname(util.java:1518) #-5 php.java.bridge.javabridge.createobject(javabridge.java:445) #-4 php.java.bridge.request.handlerequest(request.java:458) #-3 php.java.bridge.request.handlerequests(request.java:500) #-2 php.java.bridge.http.contextrunner.run(contextrunner.java:145) #-1 php.java.bridge.threadpool$delegate.run(threadpool.java:60) #0 http://localhost:8080/javabridge/java/java.inc(232): java_throwexceptionproxyfactory->getproxy(4, 'php.java.bridge...', 't', false) #1 http://localho in http://localhost:8080/javabridge/java/java.inc on line 195]

i had same issue, , solved initializing manually cancelproxycreationtag property, when creating jaspercompilemanager :

$compilemanager = new \javaclass("net.sf.jasperreports.engine.jaspercompilemanager"); $compilemanager->__client->cancelproxycreationtag = 0; 

the cancelproxycreationtag property used not declared nor initialized in java.inc generated file...


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -