Gradle build failed: org/apache/tools/ant/taskdefs/Ant

已回答

Use the 

installers.cmd -Dintellij.build.use.compiled.classes=true -Dintellij.build.target.os=linux

command to build the intellij-community.

Using intellij-community to build gradle project, an error occurred when executing the main method: org/apache/tools/ant/taskdefs/Ant. But I don't have this problem when I use the official installation package.

0

Hi,

I'm sorry, but I'm confused what you are trying to do. what does it mean to “use intellij-community to build gradle project”? What is the full stacktrace?

But I don't have this problem when I use the official installation package.

What is the official installation package and what is "yours"/"unofficial"?

0

Thank you for your reply, I used the source code of IDEA Community Edition to build an installation package of idea Community Edition, and then I installed it. When compiling gradle project with it, gradle reported this exception: org/Apache/tools/ant/taskdefs/ant.

1

Hi,

Could you please try to build it with installers.cmd -Dintellij.build.target.os=linux?

0

请先登录再写评论。