jersey - spring Integration kafka outboundchannel object Injection Error by glassfish -
added @importresource("classpath:outbound-kafka-integration.xml") on top of springconfig class create beans in java code...
added below dependency in pom.xml
<dependency> <groupid>org.springframework.integration</groupid> <artifactid>spring-integration-kafka</artifactid> <version>1.3.0.release</version> </dependency>
it gives below error when im debugging soap ui client(my application rest api)...
multiexception stack 1 of 4 org.glassfish.hk2.api.unsatisfieddependencyexception: there no object available injection @ systeminjecteeimpl(requiredtype=conversionservice,parent=abstractexceptionmapper,qualifiers={},position=-1,optional=false,self=false,unqualified=null,780303454) @ org.jvnet.hk2.internal.threethirtyresolver.resolve(threethirtyresolver.java:75) @ org.jvnet.hk2.internal.clazzcreator.resolve(clazzcreator.java:211) @ org.jvnet.hk2.internal.clazzcreator.resolvealldependencies(clazzcreator.java:234) @ org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:357) @ org.jvnet.hk2.internal.systemdescriptor.create(systemdescriptor.java:471) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:83) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:71) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture$1.call(cache.java:97) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture.run(cache.java:154) @ org.glassfish.hk2.utilities.cache.cache.compute(cache.java:199) @ org.jvnet.hk2.internal.singletoncontext.findorcreate(singletoncontext.java:122) @ org.jvnet.hk2.internal.utilities.createservice(utilities.java:2072) @ org.jvnet.hk2.internal.servicehandleimpl.getservice(servicehandleimpl.java:114) @ org.jvnet.hk2.internal.servicehandleimpl.getservice(servicehandleimpl.java:88) @ org.glassfish.jersey.internal.exceptionmapperfactory.<init>(exceptionmapperfactory.java:181) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:62) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:422) @ org.glassfish.hk2.utilities.reflection.reflectionhelper.makeme(reflectionhelper.java:1350) @ org.jvnet.hk2.internal.clazzcreator.createme(clazzcreator.java:271) @ org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:365) @ org.jvnet.hk2.internal.systemdescriptor.create(systemdescriptor.java:471) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:83) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:71) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture$1.call(cache.java:97) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture.run(cache.java:154) @ org.glassfish.hk2.utilities.cache.cache.compute(cache.java:199) @ org.jvnet.hk2.internal.singletoncontext.findorcreate(singletoncontext.java:122) @ org.jvnet.hk2.internal.utilities.createservice(utilities.java:2072) @ org.jvnet.hk2.internal.servicelocatorimpl.getservice(servicelocatorimpl.java:689) @ org.jvnet.hk2.internal.threethirtyresolver.resolve(threethirtyresolver.java:78) @ org.jvnet.hk2.internal.utilities.justinject(utilities.java:946) @ org.jvnet.hk2.internal.servicelocatorimpl.inject(servicelocatorimpl.java:981) @ org.jvnet.hk2.internal.servicelocatorimpl.createandinitialize(servicelocatorimpl.java:1056) @ org.jvnet.hk2.internal.servicelocatorimpl.createandinitialize(servicelocatorimpl.java:1047) @ org.glassfish.jersey.server.applicationhandler.initialize(applicationhandler.java:600) @ org.glassfish.jersey.server.applicationhandler.access$500(applicationhandler.java:184) @ org.glassfish.jersey.server.applicationhandler$3.call(applicationhandler.java:350) @ org.glassfish.jersey.server.applicationhandler$3.call(applicationhandler.java:347) @ org.glassfish.jersey.internal.errors.process(errors.java:315) @ org.glassfish.jersey.internal.errors.process(errors.java:297) @ org.glassfish.jersey.internal.errors.processwithexception(errors.java:255) @ org.glassfish.jersey.server.applicationhandler.<init>(applicationhandler.java:347) @ org.glassfish.jersey.servlet.webcomponent.<init>(webcomponent.java:390) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:172) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:364) @ javax.servlet.genericservlet.init(genericservlet.java:158) @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1231) @ org.apache.catalina.core.standardwrapper.allocate(standardwrapper.java:837) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:135) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:106) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502) @ org.apache.catalina.valves.rewrite.rewritevalve.invoke(rewritevalve.java:262) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:142) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) @ org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:616) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:88) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518) @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:673) @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:277) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) @ java.lang.thread.run(thread.java:745) multiexception stack 2 of 4 java.lang.illegalargumentexception: while attempting resolve dependencies of com.xxxxx.apiappwebutils.web.exception.mapper.validationexceptionmapper errors found @ org.jvnet.hk2.internal.clazzcreator.resolvealldependencies(clazzcreator.java:246) @ org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:357) @ org.jvnet.hk2.internal.systemdescriptor.create(systemdescriptor.java:471) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:83) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:71) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture$1.call(cache.java:97) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture.run(cache.java:154) @ org.glassfish.hk2.utilities.cache.cache.compute(cache.java:199) @ org.jvnet.hk2.internal.singletoncontext.findorcreate(singletoncontext.java:122) @ org.jvnet.hk2.internal.utilities.createservice(utilities.java:2072) @ org.jvnet.hk2.internal.servicehandleimpl.getservice(servicehandleimpl.java:114) @ org.jvnet.hk2.internal.servicehandleimpl.getservice(servicehandleimpl.java:88) @ org.glassfish.jersey.internal.exceptionmapperfactory.<init>(exceptionmapperfactory.java:181) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:62) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:422) @ org.glassfish.hk2.utilities.reflection.reflectionhelper.makeme(reflectionhelper.java:1350) @ org.jvnet.hk2.internal.clazzcreator.createme(clazzcreator.java:271) @ org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:365) @ org.jvnet.hk2.internal.systemdescriptor.create(systemdescriptor.java:471) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:83) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:71) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture$1.call(cache.java:97) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture.run(cache.java:154) @ org.glassfish.hk2.utilities.cache.cache.compute(cache.java:199) @ org.jvnet.hk2.internal.singletoncontext.findorcreate(singletoncontext.java:122) @ org.jvnet.hk2.internal.utilities.createservice(utilities.java:2072) @ org.jvnet.hk2.internal.servicelocatorimpl.getservice(servicelocatorimpl.java:689) @ org.jvnet.hk2.internal.threethirtyresolver.resolve(threethirtyresolver.java:78) @ org.jvnet.hk2.internal.utilities.justinject(utilities.java:946) @ org.jvnet.hk2.internal.servicelocatorimpl.inject(servicelocatorimpl.java:981) @ org.jvnet.hk2.internal.servicelocatorimpl.createandinitialize(servicelocatorimpl.java:1056) @ org.jvnet.hk2.internal.servicelocatorimpl.createandinitialize(servicelocatorimpl.java:1047) @ org.glassfish.jersey.server.applicationhandler.initialize(applicationhandler.java:600) @ org.glassfish.jersey.server.applicationhandler.access$500(applicationhandler.java:184) @ org.glassfish.jersey.server.applicationhandler$3.call(applicationhandler.java:350) @ org.glassfish.jersey.server.applicationhandler$3.call(applicationhandler.java:347) @ org.glassfish.jersey.internal.errors.process(errors.java:315) @ org.glassfish.jersey.internal.errors.process(errors.java:297) @ org.glassfish.jersey.internal.errors.processwithexception(errors.java:255) @ org.glassfish.jersey.server.applicationhandler.<init>(applicationhandler.java:347) @ org.glassfish.jersey.servlet.webcomponent.<init>(webcomponent.java:390) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:172) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:364) @ javax.servlet.genericservlet.init(genericservlet.java:158) @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1231) @ org.apache.catalina.core.standardwrapper.allocate(standardwrapper.java:837) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:135) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:106) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502) @ org.apache.catalina.valves.rewrite.rewritevalve.invoke(rewritevalve.java:262) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:142) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) @ org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:616) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:88) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518) @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:673) @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:277) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) @ java.lang.thread.run(thread.java:745) multiexception stack 3 of 4 java.lang.illegalstateexception: unable perform operation: resolve on com.xxxx.apiappwebutils.web.exception.mapper.validationexceptionmapper @ org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:386) @ org.jvnet.hk2.internal.systemdescriptor.create(systemdescriptor.java:471) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:83) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:71) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture$1.call(cache.java:97) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture.run(cache.java:154) @ org.glassfish.hk2.utilities.cache.cache.compute(cache.java:199) @ org.jvnet.hk2.internal.singletoncontext.findorcreate(singletoncontext.java:122) @ org.jvnet.hk2.internal.utilities.createservice(utilities.java:2072) @ org.jvnet.hk2.internal.servicehandleimpl.getservice(servicehandleimpl.java:114) @ org.jvnet.hk2.internal.servicehandleimpl.getservice(servicehandleimpl.java:88) @ org.glassfish.jersey.internal.exceptionmapperfactory.<init>(exceptionmapperfactory.java:181) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:62) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:422) @ org.glassfish.hk2.utilities.reflection.reflectionhelper.makeme(reflectionhelper.java:1350) @ org.jvnet.hk2.internal.clazzcreator.createme(clazzcreator.java:271) @ org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:365) @ org.jvnet.hk2.internal.systemdescriptor.create(systemdescriptor.java:471) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:83) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:71) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture$1.call(cache.java:97) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture.run(cache.java:154) @ org.glassfish.hk2.utilities.cache.cache.compute(cache.java:199) @ org.jvnet.hk2.internal.singletoncontext.findorcreate(singletoncontext.java:122) @ org.jvnet.hk2.internal.utilities.createservice(utilities.java:2072) @ org.jvnet.hk2.internal.servicelocatorimpl.getservice(servicelocatorimpl.java:689) @ org.jvnet.hk2.internal.threethirtyresolver.resolve(threethirtyresolver.java:78) @ org.jvnet.hk2.internal.utilities.justinject(utilities.java:946) @ org.jvnet.hk2.internal.servicelocatorimpl.inject(servicelocatorimpl.java:981) @ org.jvnet.hk2.internal.servicelocatorimpl.createandinitialize(servicelocatorimpl.java:1056) @ org.jvnet.hk2.internal.servicelocatorimpl.createandinitialize(servicelocatorimpl.java:1047) @ org.glassfish.jersey.server.applicationhandler.initialize(applicationhandler.java:600) @ org.glassfish.jersey.server.applicationhandler.access$500(applicationhandler.java:184) @ org.glassfish.jersey.server.applicationhandler$3.call(applicationhandler.java:350) @ org.glassfish.jersey.server.applicationhandler$3.call(applicationhandler.java:347) @ org.glassfish.jersey.internal.errors.process(errors.java:315) @ org.glassfish.jersey.internal.errors.process(errors.java:297) @ org.glassfish.jersey.internal.errors.processwithexception(errors.java:255) @ org.glassfish.jersey.server.applicationhandler.<init>(applicationhandler.java:347) @ org.glassfish.jersey.servlet.webcomponent.<init>(webcomponent.java:390) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:172) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:364) @ javax.servlet.genericservlet.init(genericservlet.java:158) @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1231) @ org.apache.catalina.core.standardwrapper.allocate(standardwrapper.java:837) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:135) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:106) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502) @ org.apache.catalina.valves.rewrite.rewritevalve.invoke(rewritevalve.java:262) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:142) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) @ org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:616) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:88) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518) @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:673) @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:277) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) @ java.lang.thread.run(thread.java:745) multiexception stack 4 of 4 java.lang.illegalstateexception: unable perform operation: create on org.glassfish.jersey.internal.exceptionmapperfactory @ org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:386) @ org.jvnet.hk2.internal.systemdescriptor.create(systemdescriptor.java:471) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:83) @ org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:71) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture$1.call(cache.java:97) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture.run(cache.java:154) @ org.glassfish.hk2.utilities.cache.cache.compute(cache.java:199) @ org.jvnet.hk2.internal.singletoncontext.findorcreate(singletoncontext.java:122) @ org.jvnet.hk2.internal.utilities.createservice(utilities.java:2072) @ org.jvnet.hk2.internal.servicelocatorimpl.getservice(servicelocatorimpl.java:689) @ org.jvnet.hk2.internal.threethirtyresolver.resolve(threethirtyresolver.java:78) @ org.jvnet.hk2.internal.utilities.justinject(utilities.java:946) @ org.jvnet.hk2.internal.servicelocatorimpl.inject(servicelocatorimpl.java:981) @ org.jvnet.hk2.internal.servicelocatorimpl.createandinitialize(servicelocatorimpl.java:1056) @ org.jvnet.hk2.internal.servicelocatorimpl.createandinitialize(servicelocatorimpl.java:1047) @ org.glassfish.jersey.server.applicationhandler.initialize(applicationhandler.java:600) @ org.glassfish.jersey.server.applicationhandler.access$500(applicationhandler.java:184) @ org.glassfish.jersey.server.applicationhandler$3.call(applicationhandler.java:350) @ org.glassfish.jersey.server.applicationhandler$3.call(applicationhandler.java:347) @ org.glassfish.jersey.internal.errors.process(errors.java:315) @ org.glassfish.jersey.internal.errors.process(errors.java:297) @ org.glassfish.jersey.internal.errors.processwithexception(errors.java:255) @ org.glassfish.jersey.server.applicationhandler.<init>(applicationhandler.java:347) @ org.glassfish.jersey.servlet.webcomponent.<init>(webcomponent.java:390) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:172) @ org.glassfish.jersey.servlet.servletcontainer.init(servletcontainer.java:364) @ javax.servlet.genericservlet.init(genericservlet.java:158) @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1231) @ org.apache.catalina.core.standardwrapper.allocate(standardwrapper.java:837) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:135) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:106) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502) @ org.apache.catalina.valves.rewrite.rewritevalve.invoke(rewritevalve.java:262) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:142) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) @ org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:616) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:88) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518) @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:673) @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:277) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) @ java.lang.thread.run(thread.java:745) mar 01, 2016 10:37:49 org.apache.catalina.core.standardwrappervalve invoke severe: allocate exception servlet jerseyservlet org.glassfish.hk2.api.unsatisfieddependencyexception: there no object available injection @ systeminjecteeimpl(requiredtype=conversionservice,parent=abstractexceptionmapper,qualifiers={},position=-1,optional=false,self=false,unqualified=null,780303454) @ org.jvnet.hk2.internal.threethirtyresolver.resolve(threethirtyresolver.java:75) @ org.jvnet.hk2.internal.clazzcreator.resolve(clazzcreator.java:211) @ org.jvnet.hk2.internal.clazzcreator.resolvealldependencies(clazzcreator.java:234) @ org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:357)
and below response soap ui client
<html> <head> <meta content="html tidy java (vers. 26 sep 2004), see www.w3.org" name="generator"/> <title>apache tomcat/8.0.28 - error report</title> <style type="text/css">h1 {font-family:tahoma,arial,sans-serif;color:white;background-color:#525d76;font-size:22px;} h2 {font-family:tahoma,arial,sans-serif;color:white;background-color:#525d76;font-size:16px;} h3 {font-family:tahoma,arial,sans-serif;color:white;background-color:#525d76;font-size:14px;} body {font-family:tahoma,arial,sans-serif;color:black;background-color:white;} b {font-family:tahoma,arial,sans-serif;color:white;background-color:#525d76;} p {font-family:tahoma,arial,sans-serif;background:white;color:black;font-size:12px;}a {color : black;}a.name {color : black;}.line {height: 1px; background-color: #525d76; border: none;}</style> </head> <body> <h1>http status 500 - servlet.init() servlet jerseyservlet threw exception</h1> <p> <b>type</b> exception report </p> <p> <b>message</b> <u>servlet.init() servlet jerseyservlet threw exception</u> </p> <p> <b>description</b> <u>the server encountered internal error prevented fulfilling request.</u> </p> <p> <b>exception</b> </p> <pre>javax.servlet.servletexception: servlet.init() servlet jerseyservlet threw exception org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:502) org.apache.catalina.valves.rewrite.rewritevalve.invoke(rewritevalve.java:262) org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:616) org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:518) org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1091) org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:673) org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:277) java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) java.lang.thread.run(thread.java:745)</pre> <p> <b>root cause</b> </p> <pre>a multiexception has 4 exceptions. are: 1. org.glassfish.hk2.api.unsatisfieddependencyexception: there no object available injection @ systeminjecteeimpl(requiredtype=conversionservice,parent=abstractexceptionmapper,qualifiers={},position=-1,optional=false,self=false,unqualified=null,2136387465) 2. java.lang.illegalargumentexception: while attempting resolve dependencies of com.xxxx.engine.apiappwebutils.web.exception.mapper.genericthrowablemapper errors found 3. java.lang.illegalstateexception: unable perform operation: resolve on com.xxxxx.engine.apiappwebutils.web.exception.mapper.genericthrowablemapper 4. java.lang.illegalstateexception: unable perform operation: create on org.glassfish.jersey.internal.exceptionmapperfactory org.jvnet.hk2.internal.collector.throwiferrors(collector.java:89) org.jvnet.hk2.internal.clazzcreator.resolvealldependencies(clazzcreator.java:249) org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:357) org.jvnet.hk2.internal.systemdescriptor.create(systemdescriptor.java:471) org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:83) org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:71) org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture$1.call(cache.java:97) java.util.concurrent.futuretask.run(futuretask.java:266) org.glassfish.hk2.utilities.cache.cache$originthreadawarefuture.run(cache.java:154) org.glassfish.hk2.utilities.cache.cache.compute(cache.java:199) org.jvnet.hk2.internal.singletoncontext.findorcreate(singletoncontext.java:122) org.jvnet.hk2.internal.utilities.createservice(utilities.java:2072) org.jvnet.hk2.internal.servicehandleimpl.getservice(servicehandleimpl.java:114) org.jvnet.hk2.internal.servicehandleimpl.getservice(servicehandleimpl.java:88) org.glassfish.jersey.internal.exceptionmapperfactory.<init>(exceptionmapperfactory.java:181) sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:62) sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) java.lang.reflect.constructor.newinstance(constructor.java:422) org.glassfish.hk2.utilities.reflection.reflectionhelper.makeme(reflectionhelper.java:1350) org.jvnet.hk2.internal.clazzcreator.createme(clazzcreator.java:271) org.jvnet.hk2.internal.clazzcreator.create(clazzcreator.java:365) org.jvnet.hk2.internal.systemdescriptor.create(systemdescriptor.java:471) org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:83) org.jvnet.hk2.internal.singletoncontext$1.compute(singletoncontext.java:71)
im not getting error if remove @importresource("classpath:outbound-kafka-integration.xml")" ie if im using spring-integration-kafka xml im getting error...
the problem source hk2 injector can't find conversionservice
instance.
there no object available injection @ systeminjecteeimpl(requiredtype=conversionservice,parent=abstractexceptionmapper,qualifiers={},position=-1,optional=false,self=false,unqualified=null,2136387465)
you should revise services definition or/and share more configuration here.
Comments
Post a Comment