Hey guys,
I´m trying to install social-app for brooklyn to deploy a drupal-cluster
but I got this error:
1. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/ClusteredDrupalApp.java
(at line 25)
import brooklyn.util.MutableMap;
^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] no more tokens - could not parse error message: The import
brooklyn.util.MutableMap cannot be resolved
----------
2. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/ClusteredDrupalApp.java
(at line 47)
Map mysqlConf = MutableMap.of("creationScriptContents", SCRIPT);
^^^^^^^^^^
[ERROR] no more tokens - could not parse error message: MutableMap
cannot
be resolved
----------
3. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/ClusteredDrupalApp.java
(at line 48)
mySqlNode = new MySqlNode(mysqlConf, this);
^^^^^^^^^
[ERROR] no more tokens - could not parse error message: Cannot
instantiate
the type MySqlNode
----------
4. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/ClusteredDrupalApp.java
(at line 50)
ConfigurableEntityFactory<Drupal> drupalFactory = new
BasicConfigurableEntityFactory<Drupal>(Drupal.class);
^^^^^^
[ERROR] no more tokens - could not parse error message: Bound
mismatch: The
type Drupal is not a valid substitute for the bounded parameter <T
extends
Entity> of the type ConfigurableEntityFactory<T>
----------
5. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/ClusteredDrupalApp.java
(at line 50)
ConfigurableEntityFactory<Drupal> drupalFactory = new
BasicConfigurableEntityFactory<Drupal>(Drupal.class);
^^^^^^
[ERROR] no more tokens - could not parse error message: Bound
mismatch: The
type Drupal is not a valid substitute for the bounded parameter <T
extends
Entity> of the type BasicConfigurableEntityFactory<T>
----------
6. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/ClusteredDrupalApp.java
(at line 59)
Map clusterProps = MutableMap.of("factory", drupalFactory,
"initialSize",
2);
^^^^^^^^^^
[ERROR] no more tokens - could not parse error message: MutableMap
cannot
be resolved
----------
7. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/ClusteredDrupalApp.java
(at line 60)
cluster = new ControlledDynamicWebAppCluster(clusterProps, this);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] no more tokens - could not parse error message: Cannot
instantiate
the type ControlledDynamicWebAppCluster
----------
8. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/ClusteredDrupalApp.java
(at line 68)
BrooklynServerDetails server = BrooklynLauncher.newLauncher().
^^^^^^^^^^^
[ERROR] no more tokens - could not parse error message: The method
newLauncher() is undefined for the type BrooklynLauncher
----------
----------
9. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/BasicDrupalApp.java
(at line 16)
import brooklyn.location.basic.LocationRegistry;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] no more tokens - could not parse error message: The import
brooklyn.location.basic.LocationRegistry cannot be resolved
----------
10. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/BasicDrupalApp.java
(at line 18)
import brooklyn.location.basic.jclouds.JcloudsLocation;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] no more tokens - could not parse error message: The import
brooklyn.location.basic.jclouds cannot be resolved
----------
11. ERROR in
/root/brookly-social/brooklyn-social-apps/src/main/java/io/cloudsoft/socialapps/drupal/examples/BasicDrupalApp.java
(at line 19)
import brooklyn.util.MutableMap;
^^
I Installed first Brooklyn 0.7.0 without any error...probably is a
stupid
mistake...any idea?