且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Oracle JDBC ojdbc6 Jar作为Maven依赖项

更新时间:2022-01-17 02:29:28

Raghuram在评论部分为我的原始问题提供了正确答案.

The correct answer was supplied by Raghuram in the comments section to my original question.

无论出于何种原因,将"mvn install"指向物理ojdbc6.jar文件的完整路径对我来说不起作用. (或者在运行命令时,我一再地反复混淆它,但是没有发出错误.)

For whatever reason, pointing "mvn install" to a full path of the physical ojdbc6.jar file didn't work for me. (Or I consistently repeatedly flubbed it up when running the command, but no errors were issued.)

第一次进入我保存ojdb6.jar的目录,并从那里运行命令.

cd-ing into the directory where I keep ojdb6.jar and running the command from there worked the first time.

如果Raghuram想回答这个问题,我将接受他的回答.谢谢大家!

If Raghuram would like to answer this question, I'll accept his answer instead. Thanks everyone!