Git Product home page Git Product logo

Comments (4)

James601232 avatar James601232 commented on May 12, 2024

你好,我这边用的是maven3.5+版本,编译都是正常的,没有报错,我翻阅了一些资料,网上也有类似的错误,这个错误确实跟maven版本有关系,现在maven最新版本是3.6+了,如果你的maven版本还比较低,建议你升级下Maven版本在试下,可以参考kongchen/swagger-maven-plugin#441

希望能帮你解决问题。

from quicksql.

wwwwwwchun avatar wwwwwwchun commented on May 12, 2024

换成maven3.6.1版本了,可以编译了,但是报少jar包的错误,
[ERROR] Failed to execute goal on project qsql-core: Could not resolve dependencies for project com.qihoo.qsql:qsql-core:jar:0.6: Could not find artifact com.oracle:ojdbc7:jar:12.1.0.2 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :qsql-core

from quicksql.

James601232 avatar James601232 commented on May 12, 2024

你好,这个应该是没有下载到依赖的包导致的,可以从网站https://www.oracle.com/database/technologies/jdbc-upc-downloads.html手动下载一个ojdbc7.jar包,然后调用命令安装到你的本地仓库,命令如下:
mvn install:install-file -Dfile=path/to/your/ojdbc7.jar -DgroupId=com.oracle
-DartifactId=ojdbc7 -Dversion=12.2.0.1 -Dpackaging=jar

当然,也可以把ojdbc7.jar上传到你们大私服上也可以

希望能帮到你。

from quicksql.

wwwwwwchun avatar wwwwwwchun commented on May 12, 2024

收到,谢谢啦,嘿嘿

from quicksql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.