We have successfully generated the jar and placed in the Geoserver lib folder, but could see the below exception.
https://github.com/marklogic-community/marklogic-geotools-plugin/
Caused by: java.lang.ClassNotFoundException:
com.marklogic.client.DatabaseClientFactory$SecurityContext
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1138)
... 154 more
Related
Did somebody face a similar issue?
When deployed into wavemaker , the error is
Caused by: java.lang.ClassNotFoundException: org.reactivestreams.Publisher
The war contains reactive-streams-1.0.4.jar
Thanks
I am trying to deploy a WAR file on an external tomcat.
every time I try to add slf4j dependency but with no luck.
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1412
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1220)
I am including these dependencies :
"org.slf4j:slf4j-api:1.7.32"
"org.slf4j:jul-to-slf4j:1.7.32",
"org.slf4j:jcl-over-slf4j:1.7.32",
"org.slf4j:log4j-over-slf4j:1.7.32"
the weird thing is that the application works fine with gradle run and with the embedded eclipse's tomcat.
I am deploying a WAR file to JBoss EAP 7.2.2. During deployment, I am getting
"Caused by: java.lang.IllegalArgumentException: Unable to load generated mapper class com.amadeus.jcp.services.ttr.display.structured.builder.response.selma.mapper.offer.DisplayTripCartResponseOfferQuotationMapperSelmaGeneratedClass"
which is caused by "Caused by: java.lang.ClassNotFoundException: com.amadeus.jcp.services.ttr.display.structured.builder.response.selma.mapper.offer.DisplayTripCartResponseOfferQuotationMapperSelmaGeneratedClass"
It is a selma generated class and available in a jar inside WEB-INF/lib.
Same WAR file is deploying successfully in JBoss EAP 7.1.
As per class loader hierarchy, it should be identified but not happening.
Anybody have any idea of this issue, please help.
Verified standalone.xml and jboss-deployment-structure.xml. Using same version before and after migration except for name space version upgrade to subsystems.
Using Java 1.8.0_191
I created a new Spring Started project from the online spring boot application generator and getting below Spring Boot Start Up error which is Caused by java.util.zip.ZipException invalid stored block lengths
org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:94) ~[paymentbatch-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_111]
... 40 common frames omitted
Caused by: java.util.zip.ZipException: invalid stored block lengths
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164) ~
Some problem in the maven dependencies being corrupted. Deleting maven repository and rebuilding (mvn clean install) the app fixed the issue.
When I use IntelIJ as IDE for spark applications, I can run the application in IDE while failed to run spark-submit after exporting this application with all the required dependencies.
Getting ERROR message as:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/Servlet
at org.apache.spark.ui.WebUI.attachPage(WebUI.scala:80)
...
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 27 more
But when I have check the jar, javax/servlet/Servlet is just there! why?
I use jars with hadoop, spark and hive instead of maven pom. Will this matter? The jar file is huge in size (about 200M).
Finally, please forgive me for my pool English!