Ошибка при использовании JCS: не удалось получить javax.sql:jdbc-stdext-2.0.

При загрузке JCS с помощью Maven

<dependency>
    <groupId>jcs</groupId>
    <artifactId>jcs</artifactId>
    <version>1.3</version>
</dependency>

Ошибка:

[WARNING] An error occurred during dependency resolution.
    Failed to retrieve javax.sql:jdbc-stdext-2.0
Caused by: Failure to find javax.sql:jdbc-stdext:jar:2.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the upd
ate interval of central has elapsed or updates are forced
Try downloading the file manually from:
    http://java.sun.com/products/jdbc/download.html
Then, install it using the command:
    mvn install:install-file -DgroupId=javax.sql -DartifactId=jdbc-stdext -Dversion=2.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=javax.sql -DartifactId=jdbc-stdext -Dversion=2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
        1) com.samsung.jcs:jcs_demo:jar:1.0-SNAPSHOT
        2) jcs:jcs:jar:1.3
        3) mysql:mysql-connector-java:jar:3.0.10
        4) javax.sql:jdbc-stdext:jar:2.0
  javax.sql:jdbc-stdext:jar:2.0
from the specified remote repositories:
  central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[INFO] Unable to read jar manifest from C:\Users\arun.km\.m2\repository\javax\sql\jdbc-stdext\2.0\jdbc-stdext-2.0.jar

аналогично Не удалось получить javax.transaction:jta-1.0.1B


person Arun    schedule 18.02.2016    source источник
comment
это помогает? stackoverflow.com/q/33075830/4290096   -  person Arun Xavier    schedule 18.02.2016
comment
В моем файле pom нет исключений. Правильный идентификатор группы jcs.jar решает проблему.   -  person Arun    schedule 18.02.2016
comment
Итак, ваша проблема решена? Затем вы можете добавить его в качестве ответа.   -  person Arun Xavier    schedule 18.02.2016


Ответы (1)


Решение Используйте новую группу: org.apache.jcs

<dependency>
    <groupId>org.apache.jcs</groupId>
    <artifactId>jcs</artifactId>
    <version>1.3</version>
</dependency>
person Arun    schedule 18.02.2016