i've been getting error when running spring boot app in docker container. i'm not sure how fix it. i've tried creating directory /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/ did not seem help. tried mounting volume directory. appears docker issue because able run app .jar. prevents system communicating @ all.
org.reflections.reflectionsexception: not create vfs.dir url, no matching urltype found [file:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/libatk-wrapper.so] either use fromurl(final url url, final list<urltype> urltypes) or use static setdefaulturltypes(final list<urltype> urltypes) or adddefaulturltypes(urltype urltype) specialized urltype. @ org.reflections.vfs.vfs.fromurl(vfs.java:109) ~[reflections-0.9.10.jar!/:na] @ org.reflections.vfs.vfs.fromurl(vfs.java:91) ~[reflections-0.9.10.jar!/:na] @ org.reflections.reflections.scan(reflections.java:237) [reflections-0.9.10.jar!/:na] @ org.reflections.reflections.scan(reflections.java:204) [reflections-0.9.10.jar!/:na] @ org.reflections.reflections.<init>(reflections.java:129) [reflections-0.9.10.jar!/:na] @ org.reflections.reflections.<init>(reflections.java:170) [reflections-0.9.10.jar!/:na] @ org.reflections.reflections.<init>(reflections.java:143) [reflections-0.9.10.jar!/:na] @ io.katharsis.resource.registry.defaultresourcelookup.<init>(defaultresourcelookup.java:27) [katharsis-core-2.4.2.jar!/:na] @ io.katharsis.resource.registry.resourceregistrybuilder.build(resourceregistrybuilder.java:38) [katharsis-core-2.4.2.jar!/:na] @ io.katharsis.spring.boot.katharsisregistryconfiguration.resourceregistry(katharsisregistryconfiguration.java:36) [katharsis-spring-2.4.2.jar!/:na] @ io.katharsis.spring.boot.katharsisregistryconfiguration$$enhancerbyspringcglib$$e5b864ad.cglib$resourceregistry$0(<generated>) [katharsis-spring-2.4.2.jar!/:na] @ io.katharsis.spring.boot.katharsisregistryconfiguration$$enhancerbyspringcglib$$e5b864ad$$fastclassbyspringcglib$$2c6d529a.invoke(<generated>) [katharsis-spring-2.4.2.jar!/:na] @ org.springframework.cglib.proxy.methodproxy.invokesuper(methodproxy.java:228) [spring-core-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.context.annotation.configurationclassenhancer$beanmethodinterceptor.intercept(configurationclassenhancer.java:356) [spring-context-4.3.2.release.jar!/:4.3.2.release] @ io.katharsis.spring.boot.katharsisregistryconfiguration$$enhancerbyspringcglib$$e5b864ad.resourceregistry(<generated>) [katharsis-spring-2.4.2.jar!/:na] @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) ~[na:1.8.0_102] @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) ~[na:1.8.0_102] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) ~[na:1.8.0_102] @ java.lang.reflect.method.invoke(method.java:498) ~[na:1.8.0_102] @ org.springframework.beans.factory.support.simpleinstantiationstrategy.instantiate(simpleinstantiationstrategy.java:162) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.constructorresolver.instantiateusingfactorymethod(constructorresolver.java:588) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.instantiateusingfactorymethod(abstractautowirecapablebeanfactory.java:1123) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbeaninstance(abstractautowirecapablebeanfactory.java:1018) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:510) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:482) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:306) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:230) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:302) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:202) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.config.dependencydescriptor.resolvecandidate(dependencydescriptor.java:207) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.defaultlistablebeanfactory.findautowirecandidates(defaultlistablebeanfactory.java:1214) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.defaultlistablebeanfactory.doresolvedependency(defaultlistablebeanfactory.java:1054) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.defaultlistablebeanfactory.resolvedependency(defaultlistablebeanfactory.java:1019) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.annotation.autowiredannotationbeanpostprocessor$autowiredfieldelement.inject(autowiredannotationbeanpostprocessor.java:566) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.annotation.injectionmetadata.inject(injectionmetadata.java:88) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.annotation.autowiredannotationbeanpostprocessor.postprocesspropertyvalues(autowiredannotationbeanpostprocessor.java:349) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1214) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:543) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:482) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:306) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:230) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:302) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:197) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.constructorresolver.instantiateusingfactorymethod(constructorresolver.java:372) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.instantiateusingfactorymethod(abstractautowirecapablebeanfactory.java:1123) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbeaninstance(abstractautowirecapablebeanfactory.java:1018) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:510) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:482) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:306) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:230) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:302) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:202) [spring-beans-4.3.2.release.jar!/:4.3.2.release] @ org.springframework.boot.web.servlet.servletcontextinitializerbeans.getorderedbeansoftype(servletcontextinitializerbeans.java:233) [spring-boot-1.4.0.release.jar!/:1.4.0.release] @ org.springframework.boot.web.servlet.servletcontextinitializerbeans.getorderedbeansoftype(servletcontextinitializerbeans.java:214) [spring-boot-1.4.0.release.jar!/:1.4.0.release] @ org.springframework.boot.web.servlet.servletcontextinitializerbeans.addservletcontextinitializerbeans(servletcontextinitializerbeans.java:90) [spring-boot-1.4.0.release.jar!/:1.4.0.release] @ org.springframework.boot.web.servlet.servletcontextinitializerbeans.<init>(servletcontextinitializerbeans.java:78) [spring-boot-1.4.0.release.jar!/:1.4.0.release] @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.getservletcontextinitializerbeans(embeddedwebapplicationcontext.java:241) [spring-boot-1.4.0.release.jar!/:1.4.0.release] @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.selfinitialize(embeddedwebapplicationcontext.java:228) [spring-boot-1.4.0.release.jar!/:1.4.0.release] @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext.access$000(embeddedwebapplicationcontext.java:89) [spring-boot-1.4.0.release.jar!/:1.4.0.release] @ org.springframework.boot.context.embedded.embeddedwebapplicationcontext$1.onstartup(embeddedwebapplicationcontext.java:213) [spring-boot-1.4.0.release.jar!/:1.4.0.release] @ org.springframework.boot.context.embedded.tomcat.tomcatstarter.onstartup(tomcatstarter.java:55) [spring-boot-1.4.0.release.jar!/:1.4.0.release] @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5167) [tomcat-embed-core-8.5.4.jar!/:8.5.4] @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:152) [tomcat-embed-core-8.5.4.jar!/:8.5.4] @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1403) [tomcat-embed-core-8.5.4.jar!/:8.5.4] @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1393) [tomcat-embed-core-8.5.4.jar!/:8.5.4] @ java.util.concurrent.futuretask.run(futuretask.java:266) [na:1.8.0_102] @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) [na:1.8.0_102] @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) [na:1.8.0_102] @ java.lang.thread.run(thread.java:745) [na:1.8.0_102]
update:
i logged docker container , libatk-wrapper.so file exists.
if not tightly openjdk try using oraclejdk. had same problem , changing oracle based docker fixed it.
Comments
Post a Comment