Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打包失败 /RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[482,60] 找不到符号 #8

Open
abacook opened this issue Jun 9, 2019 · 1 comment

Comments

@abacook
Copy link

abacook commented Jun 9, 2019

[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java: /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java使用或覆盖了已过时的 API。
[WARNING] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[WARNING] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/common/FileStatus.java: /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/common/FileStatus.java使用了未经检查或不安全的操作。
[WARNING] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/common/FileStatus.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO] 4 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[477,57] 找不到符号
符号: 类 SQLType
位置: 类 com.hbn.rdb.page.PageableResultSet
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[482,60] 找不到符号
符号: 类 SQLType
位置: 类 com.hbn.rdb.page.PageableResultSet
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[487,57] 找不到符号
符号: 类 SQLType
位置: 类 com.hbn.rdb.page.PageableResultSet
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[492,60] 找不到符号
符号: 类 SQLType
位置: 类 com.hbn.rdb.page.PageableResultSet
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[476,5] 方法不会覆盖或实现超类型的方法
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[481,5] 方法不会覆盖或实现超类型的方法
[INFO] 6 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.161 s
[INFO] Finished at: 2019-06-09T11:57:41+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project RDB: Compilation failure: Compilation failure:
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[477,57] 找不到符号
[ERROR] 符号: 类 SQLType
[ERROR] 位置: 类 com.hbn.rdb.page.PageableResultSet
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[482,60] 找不到符号
[ERROR] 符号: 类 SQLType
[ERROR] 位置: 类 com.hbn.rdb.page.PageableResultSet
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[487,57] 找不到符号
[ERROR] 符号: 类 SQLType
[ERROR] 位置: 类 com.hbn.rdb.page.PageableResultSet
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[492,60] 找不到符号
[ERROR] 符号: 类 SQLType
[ERROR] 位置: 类 com.hbn.rdb.page.PageableResultSet
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[476,5] 方法不会覆盖或实现超类型的方法
[ERROR] /home/test/github/Flume-ng-Database/RDB/src/main/java/com/hbn/rdb/page/PageableResultSet.java:[481,5] 方法不会覆盖或实现超类型的方法
[ERROR] -> [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/MojoFailureException

郁闷,java懂一点,mvn打包刚开始是odbc加载不上,后来又报这个错误

@HbnKing
Copy link
Owner

HbnKing commented Jun 11, 2019

你好 ,你的错误有提示

Database/RDB/src/main/java/com/hbn/rdb/common/FileStatus.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

建议尝试一下。
这个问题 不想影响运行
我这边使用的 jdk1.8_181
odbc 驱动 是需要 自己安装的 maven 是不能直接添加 这个 driver,需要手动安装,但是不影响编译。
编译器打开是否有其他类的报错 ?
这种
[ERROR] 符号: 类 SQLType
应该是缺少包

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants