Error installing with maven

380 views
Skip to first unread message

veera...@konnectbi.com

unread,
Aug 29, 2018, 1:48:49 AM8/29/18
to iDempiere

Greetings to all

I am trying to install the development environment using maven on a Ubuntu and when executing mvn verify I get this error

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:34 min
[INFO] Finished at: 2018-07-30T15:58:49-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.1.0:compile (default-compile) on project org.adempiere.base: Compilation failure: Compilation failure:
[ERROR] /Users/stevepinero/datos/opengrow/src/idempiere/org.adempiere.base/src/org/compiere/util/CLogMgt.java:[196]
[ERROR] mgr.removePropertyChangeListener(listener);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method removePropertyChangeListener(PropertyChangeListener) is undefined for the type LogManager
[ERROR] /Users/stevepinero/datos/opengrow/src/idempiere/org.adempiere.base/src/org/compiere/util/CLogMgt.java:[197]
[ERROR] mgr.addPropertyChangeListener(listener);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method addPropertyChangeListener(PropertyChangeListener) is undefined for the type LogManager
[ERROR] /Users/stevepinero/datos/opengrow/src/idempiere/org.adempiere.base/src/org/compiere/report/MReportTree.java:[255]
[ERROR] Enumeration<MTreeNode> en = (Enumeration<MTreeNode>)node.preorderEnumeration ();
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Cannot cast from Enumeration<TreeNode> to Enumeration<MTreeNode>
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.adempiere.base

Hiep Lq

unread,
Aug 29, 2018, 3:31:02 AM8/29/18
to Mohemmed Bilal Ilyas

it look your jdk version is too new.

please run it with jdk 8 (can google how to run maven with other default jdk)

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/7add8def-ac35-446b-8fa8-d47808386aa7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

Katarína Matúšová

unread,
Jan 24, 2019, 10:26:36 AM1/24/19
to iDempiere
Hi,
I am trying to set up iDempiere6.2 and I have got similar problem, when run mvn verify. 

I tried to run it with jdk 11 first, but also jdk 8 (I changed enviromental variables).

Please, can you help me ?



mvn-verify--e.txt

Pedro Pozzi Ferreira

unread,
Jan 25, 2019, 6:11:15 AM1/25/19
to iDempiere
Hi Katarina!

Make sure you're using jdk11 to run iDempiere 6.2. Also, can you run "mvn --version" and send me the output?
It seens like you're having a tycho issue.

Regards,
Pedro.
Reply all
Reply to author
Forward
0 new messages