My Class is this to connection on my instance of Elastic :
public class Client {
public static void main(String[] args) throws IOException {
RestHighLevelClient aesClient = aesClient();
}
public static RestHighLevelClient aesClient() {
RestHighLevelClient client = new RestHighLevelClient(
RestClient.builder(
new HttpHost("xx.xx.xx.xxx", 9200, "http"),
new HttpHost("xx.xx.xx.xxx", 9201, "http")));
return client;
}
But i have this error when i try to upload the package on Weblogic web server :
Module named 'm2mServer-ear' failed to deploy. See Error Log view for more detail.
weblogic.application.ModuleException: null
null
Exception received from deployment driver. See Error Log view for more detail.
In weblogic log this is the only error i can see :
ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1589891835759> <BEA-149265> <Failure occurred in the execution of deployment request with ID "587319399982400" for task "0". Error is: "weblogic.application.ModuleException: null
null"
weblogic.application.ModuleException: null
null
at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1824)
at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:270)
at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:682)
at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:41)
at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:240)
If i try to remove the elastic dependecies from the pom , it works successfully
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.