Closed ScarleTAKE closed 3 years ago
Hi @ScarleTAKE The current version (1.2.1) of the oracle driver has not been tested with Liferay version 7.4. However, there is no need to specify the Oracle JDBC driver as a dependency, it just needs to be installed on tomcat / lib / ext. Also remember to install the driver (liferay-portal-database-all-in-one-support) in the correct location.
I reiterate the fact that this version of Liferay is currently not supported, so it is possible that the driver will not work.
Hi @ScarleTAKE Read well the README of the project, where I indicated the notes for a correct installation of the driver for Liferay 7.4 GA3.
Hi @amusarra
thank you, thank you very much for all your assistance and I really appreciate your help in resolving this issue. I was suspected the folder tomcat-9.0.43/webapps/ROOT/WEB-INF/shielded-container-lib because mysql.jar is placed here. but it's still doesn't work. I create a thread in liferay div: question-about-add-external-ojdbc-jar using a simple mvc-module and try use very simple jdbc code to access database. although it still shows "ClassNotFoundException:oracle.jdbc.OracleDriver", but when i use "import oracle.jdbc.*; " in my java code, it shows normal.
Well, then close this issue.
hi i'd like to know, how to add ojdbc8 in liferay, i download the jar manually and put it in tomcat/lib/ext, and modify build.gradle of module: compileOnly group: 'com.oracle.database.jdbc', name: 'ojdbc8', version: '21.3.0.0' it's doesn't work.
my environment is OS: Windows JVM: oracle jdk8 Liferay: Liferay CE 7.4.2 ga3 Database: MySQL 5.7