Pergunta

My Report works fine in iReport designer. But when I try to run it on JasperServer it is giving me the following exception:

java.lang.Exception: 1 - oracle.jdbc.driver.OracleDriver     

I have ojdbc6.jar in the classpath.

Foi útil?

Solução

I have resolved the issue myself.

The problem was I haven't restarted the jasper server. I had put the jar in the following path: C:/Program Files/jasperreports-server-cp-4.5.0/apache-tomcat/lib

After having the jar in the classpath, I restarted the jasper server. Even then, it was not working and I restarted the PC and now it's working.

Thanks simont and mdhahlman for responding.

Outras dicas

Open iReport, go to Tools > Otions > Ireport > CLASSPATH, Then Add your oracle ODBC jar file there.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top