weblogic 环境改变后,重启应用后方法,报错java.lang.NoSuchMethodError: oracle.i18n.text.converter.CharacterConverterOGS.getInstance

Caused by: java.lang.NoSuchMethodError: oracle.i18n.text.converter.CharacterConverterOGS.getInstance(I)Loracle/sql/converter/CharacterConverters;
at oracle.sql.converter.CharacterConverterFactoryOGS.make(CharacterConverterFactoryOGS.java:48)
at oracle.sql.CharacterSetWithConverter.getInstance(CharacterSetWithConverter.java:92)
at oracle.sql.CharacterSetFactoryThin.make(CharacterSetFactoryThin.java:123)
at oracle.sql.CharacterSet.make(CharacterSet.java:441)
at oracle.jdbc.driver.DBConversion.init(DBConversion.java:152)[174:ojdbc14:10.2.0.0]
at oracle.jdbc.driver.DBConversion.<init>(DBConversion.java:116)[174:ojdbc14:10.2.0.0]
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:892)[174:ojdbc14:10.2.0.0]
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)[174:ojdbc14:10.2.0.0]
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)[174:ojdbc14:10.2.0.0]
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)[174:ojdbc14:10.2.0.0]
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)[174:ojdbc14:10.2.0.0]
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)[174:ojdbc14:10.2.0.0]
at java.sql.DriverManager.getConnection(DriverManager.java:571)[:1.7.0_79]
at java.sql.DriverManager.getConnection(DriverManager.java:215)[:1.7.0_79]
at com.cyou.ehr.common.HRJdbcUtil.query(HRJdbcUtil.java:26)[211:cyou-esb-app-ehr:1.0.0.SNAPSHOT]
at com.cyou.ehr.rest.EhrRestService.syncEhrDept(EhrRestService.java:51)[211:cyou-esb-app-ehr:1.0.0.SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_79]
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:188)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:104)
... 41 more

 

将应用中的orai18n.jar替换成 ojdbc6.jar后重新启动应用后,问题解决

posted on 2020-05-26 17:14  今宵别梦涵  阅读(1387)  评论(1编辑  收藏  举报

导航