on 05-07-2015 6:10 PM
Hello guys,
I just downloaded Hybris 5.5.1 and installed java 8. I unziped the package and executed
. ./setantenv.sh;
ant clean all
and got this exception ...
java.lang.NoSuchMethodError: com.google.common.base.Stopwatch.createStarted()Lcom/google/common/base/Stopwatch;
at de.hybris.ant.taskdefs.TestClassesScannerTask.execute(TestClassesScannerTask.java:63)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
So far i had Hybirs 5.4 , 5.5 working with Java 7 perfectly. OS X 10.10
[echo] ---------------------------------------------------------------
[echo] hybris Platform Environment
[echo] ---------------------------------------------------------------
[echo] OS family: unix
[echo] Java platform: Java(TM) SE Runtime Environment, 1.8.0_45-b14
[echo] Java compiler: org.ee.jdt.core.JDTCompilerAdapter
[echo] Build target: 1.7
[echo] Compilation mode: strict
[echo] hybris Platform directory: /Users/yordanyordanov1/Dev/qiagen-project/hybris/bin/platform
[echo] hybris Platform version: 5.5.1.0
[echo] Ant version: Apache Ant(TM) version 1.9.1 compiled on May 15 2013
[echo] Ant memory settings: -Xmx512m -XX:MaxPermSize=256M
Anyone experienced same issue?
Thank you.
is it possible that there is an old google guava version in the classpath?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hybris 5.5.1 will only support with java 8. If you use lower version same problem occurs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Yordan, I am using hybris 5.5.1 with Java 8 on OSX 10.10.3 and everything goes fine. Can you please provide your localextensions.xml ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.