JavaからシンプルなPentaho(Kettle/Spoon)ジョブ(.ktr)を起動しようとしています。私は自分のプロジェクトの依存関係をgraddleで設定しています。理論的には、私は仕事を開始するためにpentaho-kettleとpentaho-big-data-pluginモジュールを依存関係として追加するだけです。Javaから単純なPentahoジョブを起動できません。
pentaho-big-data-pluginモジュールにはエラーがあります。jsf-api:1.1 jarが含まれていないため、プロジェクトがコンパイルできません。ここで
は私のbuild.gradleです:ここでは
compile group: 'pentaho-kettle', name: 'kettle-core', version: '7.1.0.0-12'
compile group: 'pentaho-kettle', name: 'kettle-dbdialog', version: '7.1.0.0-12'
compile group: 'pentaho-kettle', name: 'kettle-engine', version: '7.1.0.0-12'
compile 'pentaho:pentaho-big-data-plugin:7.1.0.0-12'
は、コンパイルしようとしたときのIntelliJが提供するエラーです。ここ
Warning:root project 'tfg-j-hipster-app': Web Facets/Artifacts will not be configured properly Details: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':runtimeClasspath'. Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find jsf-api.jar (javax.faces:jsf-api:1.1). Searched in the following locations: https://repo1.maven.org/maven2/javax/faces/jsf-api/1.1/jsf-api-1.1.jar
は、私は内を検索していますリポジトリです:
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url 'http://repo.spring.io/milestone' }
maven { url 'http://repo.spring.io/snapshot' }
maven { url 'https://repository.jboss.org/nexus/content/repositories/releases' }
maven { url 'https://oss.sonatype.org/content/repositories/releases' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'http://repo.maven.apache.org/maven2' }
// My repositories
maven { url 'http://nexus.pentaho.org/content/groups/omni' }
}
私のPentahoバージョンは7.1.0.0-12です。
このような質問の場合は、使用しているPentahoバージョンを含めてください。 – AlainD
7.1.0.0-12です。私はそれを加えた。 –