Java.sql.sqlexception: J2t-132, Can Not Register Oracle.Jdbc.Oracledriver As Jdbc-Driver When Running JPublisher (Doc ID 1437772.1)

Last updated on MARCH 08, 2017

Applies to:

JPublisher - Version 11.2.0.3.0 and later
Information in this document applies to any platform.

Symptoms


When running jpub using JDBC 11.2.0.3 and JDK 1.6 , the following error message is received:


java.sql.SQLException: J2T-132, can not register oracle.jdbc.OracleDriver as JDBC-driver
J2T-102, ERROR: Unable to connect to schema "DV_STAGE"
NOTE: xmlparserv2.jar missing in CLASSPATH, SQL-Java type mapping for SYS.XMLTYPE skipped.
Exception in thread "main" java.lang.NoClassDefFoundError: oracle.sql.REF
at oracle.jpub.publish.JavaPublisher.class$(JavaPublisher.java:137)
at oracle.jpub.publish.JavaPublisher.<init>(JavaPublisher.java:136)
at oracle.jpub.Doit.mainSql(Doit.java:211)
at oracle.jpub.Doit.main(Doit.java:126)
at oracle.jpub.Doit.main(Doit.java:101)
at oracle.jpub.Doit.main(Doit.java:57)
at oracle.jpub.java.Main.main(Main.java:9)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms