Hi all,
A recent change to the class hierarchy around EntitySpec changed the
location and the return type of the `displayName' method. If you run
Brooklyn and observe errors like:
2014-08-26 17:56:30,505 WARN Failed to create entity using spec
EntitySpec{type=interface brooklyn.entity.Application} (rethrowing)
brooklyn.util.exceptions.PropagatedRuntimeException:
at
brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:90)
~[brooklyn-utils-common-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
Caused by: java.util.concurrent.ExecutionException:
java.lang.NoSuchMethodError:
brooklyn.entity.proxying.EntitySpec.displayName(Ljava/lang/String;)Lbrooklyn/entity/proxying/EntitySpec;
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
~[na:1.7.0_51]
Caused by: java.lang.NoSuchMethodError:
brooklyn.entity.proxying.EntitySpec.displayName(Ljava/lang/String;)Lbrooklyn/entity/proxying/EntitySpec;
at
brooklyn.clocker.example.DockerCloud.init(DockerCloud.java:62) ~[na:na]
You need to recompile your project against the latest Brooklyn. The
change was merged as part of pull request #106
<https://github.com/apache/incubator-brooklyn/pull/106> on 7 August.
Sam