Comments (4)
你好,我这边用的是maven3.5+版本,编译都是正常的,没有报错,我翻阅了一些资料,网上也有类似的错误,这个错误确实跟maven版本有关系,现在maven最新版本是3.6+了,如果你的maven版本还比较低,建议你升级下Maven版本在试下,可以参考kongchen/swagger-maven-plugin#441
希望能帮你解决问题。
from quicksql.
换成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.
你好,这个应该是没有下载到依赖的包导致的,可以从网站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.
收到,谢谢啦,嘿嘿
from quicksql.
Related Issues (20)
- quickSQL往spark上提交的问题 HOT 1
- 是否可以将com.oracle:ojdbc6:11.2.0.3更新为com.oracle.database.jdbc:ojdbc6:11.2.0.4?
- IDEA里运行CsvScanExample测试时使用Spark Local模式、LZ4压缩报错 HOT 3
- 在linux部署项目后,使用./quicksql.sh -e "SELECT 1" --runner spark出错:.NoSuchMethodError: org.apache.commons.lang3.ObjectUtils.anyNotNull HOT 4
- Error in document content
- 求大神帮忙看个报错ERROR|compiler.err.prob.found.req HOT 1
- When locating the database, we need to associate the datatype HOT 1
- quicksql导入spark、flink数据异常
- 请问下用calcite parse 测试时获取SqlJoin时为什么报错
- UnsupportedOperationException when running CsvScanExample locally
- 导入数据源以后是否支持实时更新schema信息
- Explain sql execute error
- 当我调试example时候,报错 java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.JsonMappingException
- [BUG] testParseSingleBdNameAndTableNameWithError in tableNameCollectorTest is not as expected
- java.io.FileNotFoundException
- unknown type -1
- 程序包org.elasticsearch.spark.sql.api.java不存在
- The server failed to issue an HTTP response, retrying
- 未来会支持doris、hudi这样的数据库吗?
- 果然,永远不会更新了。 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quicksql.