Skip to content

解决:Could not find artifact org.syslog4j:syslog4j:jar:0.9.46 in pentaho-public #136

@yoonching

Description

@yoonching

不是该项目本身的bug,只是在maven install的过程中会遇到该问题并且可以解决。在此记录,以帮助后续启动项目的朋友。

描述:maven install时,提示Could not find artifact org.syslog4j:syslog4j:jar:0.9.46 in pentaho-public.....(省略),使用的maven repository url为 https://repo.orl.eng.hitachivantara.com/artifactory/pnt-mvn/

分析:该url下已经不提供0.9.46版本。
image

解决:到syslog4j官网下载jar包,安装本地jar包。http://syslog4j.org/
image

image

注:
一般安装本地jar包在windows上可行的办法是
mvn install:install-file -DgroupId=org.syslog4j -DartifactId=syslog4j -Dversion=0.9.46 -Dpackaging=jar -Dfile=D:\syslog4j.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions