Skip to Content
2
Former Member
May 07, 2015 at 05:10 PM

Hybris 5.5.1 - first ant clean all - java.lang.NoSuchMethodError

363 Views

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.