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?

 

 

1
11 comments
Avatar
Permanently deleted user

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

0

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

 

0

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

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

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

0

jgoodies is not mentioned in that file

 

0

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

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

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

0

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

Your changes fixed the problem. Thank you.

 

0

Please sign in to leave a comment.