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

ERROR: Failed to resolve: com.lowagie:itext:2.1.7.js6 #164

Open
afinas-wii opened this issue Jun 19, 2019 · 4 comments
Open

ERROR: Failed to resolve: com.lowagie:itext:2.1.7.js6 #164

afinas-wii opened this issue Jun 19, 2019 · 4 comments

Comments

@afinas-wii
Copy link

@afinas-wii afinas-wii commented Jun 19, 2019

I want to download an android app that compares images. and when I try to add the latest version of openIMAJ (v1.3.8) it is showing the error in gradle "ERROR: Failed to resolve: com.lowagie:itext:2.1.7.js6"

Is there any solution for this?

Thank you in advance.

@lllAlexanderlll
Copy link

@lllAlexanderlll lllAlexanderlll commented Dec 10, 2019

Hi,
the same happens for openIMAJ version 1.3.9:

build.gradle:


android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.example.testApp"
        minSdkVersion 22
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/license.txt'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/NOTICE.txt'
        exclude 'META-INF/notice.txt'
        exclude 'META-INF/ASL2.0'
    }
}

repositories {
    mavenCentral()
    maven {
        url "http://maven.openimaj.org"
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

    implementation('org.openimaj:image-processing:1.3.9') {
        exclude group: 'org.apache.xmlgraphics'
        exclude group: 'xml-apis'
    }
}

@afinas-wii could you reslove that problem?

Cheers,
Alex

@lllAlexanderlll
Copy link

@lllAlexanderlll lllAlexanderlll commented Dec 10, 2019

After following the error https://stackoverflow.com/a/55812178
and changing the build.gradle accordingly,

repositories {
    mavenCentral()
    maven { url "http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/" }
    maven {
        url "http://maven.openimaj.org"
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    annotationProcessor 'org.apache.logging.log4j:log4j-core:2.11.0'
    implementation('org.openimaj:image-processing:1.3.9') {
        exclude group: 'org.apache.xmlgraphics'
        exclude group: 'xml-apis'
    }
}

the error changes to:
"More than one file was found with OS independent path 'org/jfree/chart/plot/LocalizationBundle_pl.properties'"

Does anyone have any suggestions how to solve this error?

@mmmahdiii
Copy link

@mmmahdiii mmmahdiii commented Jun 3, 2021

hi

could anyone overcome this?

@Y0h4n3s
Copy link

@Y0h4n3s Y0h4n3s commented Aug 20, 2021

maven { url "https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/" } <---- add this to your repositories list that should fix it

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

Successfully merging a pull request may close this issue.

None yet
4 participants