deveth0 / elasticsearch-aem Goto Github PK
View Code? Open in Web Editor NEWExample Implementation to integrate ElasticSearch in AEM
Home Page: https://www.dev-eth0.de/blog/2017/01/18/elasticsearch-aem.html
License: Apache License 2.0
Example Implementation to integrate ElasticSearch in AEM
Home Page: https://www.dev-eth0.de/blog/2017/01/18/elasticsearch-aem.html
License: Apache License 2.0
Hi,
After installing both osgi bundles (wrapper and elasticsearch-aem) when I try to open the new replication agent, I get the error: Agent cannot be correctly instantiated by the Use API
Details:
AEM version: 6.2
Caused by: org.apache.sling.scripting.sightly.SightlyException: Identifier de.dev.eth0.elasticsearch.aem.indexing.controller.Agent cannot be correctly instantiated by the Use API at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:89) at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.call(RenderContextImpl.java:66) at org.apache.sling.scripting.sightly.apps.deveth0_elastic.components.page.elasticSearchIndexAgent.SightlyJava_elasticSearchIndexAgent.render(SightlyJava_elasticSearchIndexAgent.java:61) at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderUnit.render(RenderUnit.java:54) at org.apache.sling.scripting.sightly.impl.engine.SightlyScriptEngine.evaluateScript(SightlyScriptEngine.java:92) at org.apache.sling.scripting.sightly.impl.engine.SightlyScriptEngine.eval(SightlyScriptEngine.java:78) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:388) ... 140 more Caused by: org.apache.sling.models.factory.MissingElementsException: Could not inject all required fields into class de.dev.eth0.elasticsearch.aem.indexing.controller.Agent at org.apache.sling.models.impl.ModelAdapterFactory.createObject(ModelAdapterFactory.java:593) at org.apache.sling.models.impl.ModelAdapterFactory.internalCreateModel(ModelAdapterFactory.java:335) at org.apache.sling.models.impl.ModelAdapterFactory.createModel(ModelAdapterFactory.java:223) at org.apache.sling.scripting.sightly.models.impl.SlingModelsUseProvider.provide(SlingModelsUseProvider.java:125) at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:84) ... 146 more Suppressed: org.apache.sling.models.factory.MissingElementException: Could not inject private java.lang.String de.dev.eth0.elasticsearch.aem.indexing.controller.Agent.enabled at org.apache.sling.models.impl.ModelAdapterFactory.createObject(ModelAdapterFactory.java:598) ... 150 more Caused by: org.apache.sling.models.factory.ModelClassException: No injector returned a non-null value! at org.apache.sling.models.impl.ModelAdapterFactory.injectElement(ModelAdapterFactory.java:513) at org.apache.sling.models.impl.ModelAdapterFactory.createObject(ModelAdapterFactory.java:596) ... 150 more
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.