ijaas icon indicating copy to clipboard operation
ijaas copied to clipboard

buildPlugin error

Open zhenjun115 opened this issue 6 years ago • 1 comments

` 10:35:31: Executing task 'buildPlugin'...

:compileJava Malformed jar [sa-jdwp-1.12.jar] found on classpath. Gradle 5.0 will no longer allow malformed jars on a classpath. ... :patchPluginXml :processResources :classes :instrumentCode FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':instrumentCode'.

taskdef A class needed by class com.intellij.ant.InstrumentIdeaExtensions cannot be found: org/jetbrains/org/objectweb/asm/ClassReader using the classloader AntClassLoader[/Users/zhenjun/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2019.1.2/7999543c914a11e4d9b4039ed77338c4f36a86dd/ideaIC-2019.1.2/lib/javac2.jar:/Users/zhenjun/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2019.1.2/7999543c914a11e4d9b4039ed77338c4f36a86dd/ideaIC-2019.1.2/lib/jdom.jar]

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 12s 4 actionable tasks: 4 executed Unable to load class 'org.jetbrains.org.objectweb.asm.ClassReader'.

This is an unexpected error. Please file a bug containing the idea.log file. 10:35:44: Task execution finished 'buildPlugin'.

`

zhenjun115 avatar May 20 '19 02:05 zhenjun115

I cannot reproduce. Can you try running with the checked-in gradlew? (i.e. $ ./gradlew buildPlugin)

draftcode avatar May 22 '19 04:05 draftcode