Problem making Maven projects on FreeBSD 10
Good afternoon,
As a new Intellij Idea 13.0.2 user, I imported my project in this IDE, set it up as I could and now, when I launch a Maven make, it gives this only error message:
Error: failed to create a child event loop
So I'm unable to build, hence to launch my webapp using Intellij only. I could launch Tomcat (8.0.3) and build with Maven (3.0.4) all in command-line, but that's a pity.
I use the Oracle JDK 7:
java -version
# java version "1.7.0_51"
# Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
# Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode)
FYI, I had to copy the JDK to my home directory in order to be able to set it up as a JDK in the platform settings tab.
Moreover, the above command seems to indicate that it's a JRE and not a JDK, but the compiled package name is linux-sun-jdk17 and I do have javac. (I use FreeBSD but in order to have the Oracle JDK, we use kind of a bridge from the Linux JDK).
Any help would be much appreciated.
Regards,
Zala
请先登录再写评论。
Hello.
Does Maven make (not asking about the whole deploy) work from command line?
Thank you,
Alexander.
Absolutely!
Thank you.
We do not test IDEA on FreeBSD regularly. I have to setup it to reproduce.
For now, I have googled for "failed to create a child event loop" and FreeBSD, and got a couple of reports for MineCraft (never tried it), which common suggested resolution is disabling the firewall and antivirus.
Another interesting suggestion is to change JDK from Oracle:
https://bugs.mojang.com/browse/MC-40413?focusedCommentId=124853&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-124853
Not sure, can it be a workaround, this is not an investigation, just a web search. Maybe it can help temporarily.
Regards,
Alexander.