[hibernate-dev] Failure upon importing ORM sources into IDE

Gunnar Morling gunnar at hibernate.org
Fri Oct 25 17:38:19 EDT 2013


2013/10/25 Hardy Ferentschik <hardy at hibernate.org>

>
> On 25 okt 2013, at 22:54, Gunnar Morling <gunnar at hibernate.org> wrote:
>
> > When importing the ORM Gradle project into IntelliJ or Eclipse, I'm
> getting
> > the following error:
>
> Importing how? Did you create the IDE project files via 'gradle eclipse'
> resp. 'gradle idea' or are you any sorts of plugins.
>
> Not sure about Eclipse, but the import into Idea works via the Gradle
> generated project files.
>

I'm using the IDE plug-ins, e.g. in IntelliJ "Import Project..." ->
selecting the build.gradle file. I'm not generating the IDE project files
using Gradle beforehand.


>
> > ===
> > FAILURE: Build failed with an exception.
> >
> > * Where:
> >
> > Build file '[...]/hibernate-orm/hibernate-core/hibernate-core.gradle'
> line:
> > 2
> >
> > * What went wrong:
> >
> > A problem occurred evaluating project ':hibernate-core'.
>
> So are you trying to build from the IDE or why would you get a build error
> in the IDE?
>

When doing the import the way described above, both IDEs perform (part of)
the build to establish a project model which then allows to chose which
module to import etc. During this build I'm getting the error.


>
> >> Could not create plugin of type 'MatrixTestingPlugin'.
>
> Might be a class path thing. The matrix testing plugin is one of our own.
>

Hmm, that's odd. I've avoided the issue now by uncommenting the plug-in
during import and got it imported that way. Not sure why the Matrix testing
plug-in isn't found.

Thanks for your help,

--Gunnar



>
> --hardy


More information about the hibernate-dev mailing list