Build failure: com/jgoodies/jgoodies-common/1.4.0 does not exist

[java] /Volumes/A/MyIDEA/build/gant.xml:59: : /Users/alan/.m2/repository/com/jgoodies/jgoodies-common/1.4.0 does not exist.

How can this be fixed?

 

 

11 comments
Comment actions Permalink

jgoodies is available in the <intellij-installation>/lib/jgoodies*.jar.  You probably have to add those to your plugin SDK classpath.

0
Comment actions Permalink

I'm not building a plugin, I'm building IDEA.

 

0
Comment actions Permalink

IntelliJ IDEA project now takes some libraries from Maven repositories, see this post for details. jgoodies-common library should be automatically downloaded when you open intellij-community sources in IntelliJ IDEA (make sure that your IntelliJ IDEA is not older than 2017.2.5 as specified in README.md) or when you invoke build.xml, provided that your machine can access Maven repositories.

0
Comment actions Permalink

Where would I look to verify that jgoodies-common is requested?

Where would I look to see how the request failed?

(I am invoking build.xml)

 

0
Comment actions Permalink

You can look at out/idea-ce/log/compilation.log.

0
Comment actions Permalink

jgoodies is not mentioned in that file

 

0
Comment actions Permalink

Where is the request to download jgoodies-common coming from?

I found only one reference to mvnrepository in the repo:

./platform/build-scripts/groovy/org/jetbrains/intellij/build/CommunityLibraryLicenses.groovy:                       url: "http://mvnrepository.com/artifact/be.cyberelf.nanoxml/nanoxml/2.2.3",

0
Comment actions Permalink

I have got the same problem on MAC computer:

git remote -v
origin https://github.com/JetBrains/intellij-community.git (fetch)
origin https://github.com/JetBrains/intellij-community.git (push)

git branch
* master

git log
commit 2966eac93829d5c20a6d0da89c265399acdb5ea4 (HEAD -> master, origin/master, origin/HEAD, 0a)
Author: Rustam Vishnyakov <rustam.vishnyakov@jetbrains.com>
Date: Thu Apr 5 22:06:58 2018 +0300

Removed unused class

 

[java] BUILD FAILED
[java] .../idea_1/build/gant.xml:46: Build platform and plugin JARs: ..../.m2/repository/com/jgoodies/jgoodies-common/1.4.0 does not exist.
[java]
[java] Total time: 15 minutes 55 seconds

Any solution for this?

0
Comment actions Permalink

I've fixed the problem (see this issue). Update to the latest 'master' sources to get the fix.

0
Comment actions Permalink

Thank you, Nikolay. After a manual copy of the jgoodies-common I have got next error on commons-net/3.3. After a manual copy of commons-net/3.3 build succeeds finally.

0
Comment actions Permalink

Your changes fixed the problem. Thank you.

 

0

Please sign in to leave a comment.