问题1:com.lowagie:itext:pom:2.1.7.js6 was not found in https://repo.maven.apache.org/maven2 during a previous attempt.
问题2:org.olap4j:olap4j:pom:0.9.7.309-JS-3 was not found in https://repo.maven.apache.org/maven2 during a previous attempt.
解决方法:1.从官网下载正确的jar包https://mvnrepository.com/。搜索出问题的jar包,点击下载
2.命令行安装
安装问题1:mvn install:install-file -Dfile=E:/respository/.m2/itext-2.1.7.js4.jar -DgroupId=com.lowagie -DartifactId=itext -Dversion=2.1.7.js4 -Dpackaging=jar
安装问题2:mvn install:install-file -Dfile=E:/respository/.m2/olap4j-0.9.7.309-JS-3.jar -DgroupId=org.olap4j -DartifactId=olap4j -Dversion=0.9.7.309-JS-3 -Dpackaging=jar
安装参数解读:
mvn install:install-file:安装文件
-Dfile:待安装包所在位置
-DgroupId:包的GroupId
-DartifactId:包的artifactId
-Dversion:包的version
-Dpackaging:包的文件类型
3.成功安装如图所示
4.看安装的路径,会生成配置文件
5.重新打包就OK(附两个jar包的链接)
链接:https://pan.baidu.com/s/13OU1bKM8stcFmbbKz9KFhw
提取码:july
链接:https://pan.baidu.com/s/1kTeZNLAdcPdGKzNXgFo1sQ
提取码:july