maven打包一直报class not found错误

news/2024/7/15 16:58:59 标签: java, 开发工具, netty

 

 

 

原因是因为gbase的jar包没导入到本地的maven库中

cmd,然后执行如下命令:

mvn install:install-file -Dfile=D:/gbase-connector-java-8.3.81.53-build54.4.7-bin.jar -DgroupId=gbase-connector-java -DartifactId=gbase-connector-java -Dversion=8.3.81.53 -Dpackaging=jar

 

pom.xml中配置如下:

<dependency>
<groupId>gbase-connector-java</groupId>
<artifactId>gbase-connector-java</artifactId>
<version>8.3.81.53</version>
</dependency>

 

转载于:https://www.cnblogs.com/gigi2653/p/11319256.html


http://www.niftyadmin.cn/n/814817.html

相关文章

presto计算日期间隔天数或者小时间隔——date_diff函数使用

“Presto是Facebook最新研发的数据查询引擎&#xff0c;可对250PB以上的数据进行快速地交互式分析。据称该引擎的性能是 Hive 的 10 倍以上。”&#xff0c;亲身用过之后&#xff0c;觉得比hive快了10倍不止。 hive中查询日期间隔的函数是datediff: select datediff(2018-09-07…

矩阵排序,四角最小,中心最大

#include "stdio.h" #define MAX 25 void swap(int *a,int *b) {int t;t *a;*a *b;*b t; } void main() {int a[MAX];int temp;printf("请输入25个数字\n");for(int k 0;k < MAX; k ){scanf("%d",&a[k]);}for(int j 0; j < MAX-1…

webapi 2013年就已经出来了。 时间已经很久了

webapi 2013年就已经出来了。 时间已经很久了 。 转载于:https://www.cnblogs.com/bingyizhihun/p/11323037.html

输入5个字符串,排序后输出!

#include "stdio.h" #include <string.h> #include <stdlib.h> #define MAX 10 void main() {int i,j;char str[5][MAX] {0};//char s[5];printf("请输入5个字符串&#xff01;\n");for(i 0;i<5;i){scanf("%s",str[i]);} print…

一道查询表生成新表的SQL题的解答(SQL Server下)

这是一道从网上找来的题&#xff0c;据说是Alibaba2011年数据分析师招聘的题目&#xff0c;现在SQL Server下解答。 题目如下&#xff1a; 根据要求写出SQL 表A结构如下&#xff1a; Member_ID&#xff08;用户的ID&#xff0c;字符型&#xff09; Log_time&#x…

判断颜色深浅的方法

利用颜色的RGB值&#xff0c;通过公式 g R*0.299 G*0.587 B*0.114 求出g, g越小颜色越深 转载于:https://www.cnblogs.com/mystory/p/3384510.html

【原创】navicat for sqlite 11.1.12 patch 永久试用 不报毒

因为最近需要用这个但是网上都是注册机没有成功注册&#xff0c;所以就自己动手使用ollydbg开刀&#xff0c; 修改成了永久试用版本。 着急用所以没仔细分析&#xff0c;暂时先这样吧。 这个下载版本 http://dlsw.baidu.com/sw-search-sp/soft/61/24311/navicat_V11.1.12.0…

一个H行L列的二维矩阵数组(整形),求每行元素总和,并将每行总和排序输出

#include "stdio.h" #define H 5 #define L 10 int total(int *p,int n)//___________________________一维数组求和 {int all 0;for(int i 0;i<n;i){all all p[i];}return all; } void sort(int *arr,int n)//_____________________________________数组元素大…