Hi Astah!

I’m pretty good at DeltaSpike so to say, but I somehow lost the context.
You are talking about an error in tomee but your log clearly shows you are 
working with WebSphere?
> com.ibm.ws.container.service.state.StateChangeException:

Maybe you mixed up the paste?

Do you mind to explain me your current problem and I might be able to help 
(regardless of TomEE or WAS).

LieGrue,
strub


> Am 02.03.2015 um 08:06 schrieb astha <[email protected]>:
> 
> Hi hwaastad
> I am also facing the same error in my code.Can you please help me how you
> solve this problem.
> 
> I made two maven project.
> 1)Config project->build a jar
> 2)Appg project->add the jar file of Config project as maven dependency in
> this project & deploy the war of Appg project on Weblogic Server
> 
> I made 2 custom annotation(Config & ConfigInfo) and has configuration
> factory class(which has method @produces getConfiguration(InjectionPoint p))
> for getting configuration property from the properties file.I am injecting
> this annotation in my second project Appg(in my @stateless class).
> @Inject
> @Config
> @ConfigInfo(file = "configuration.properties", name = "username")
> public String username;
> 
> But When I run this on server I got this error->
> ERROR   ] Api type [java.lang.String] is not found with the qualifiers 
> Qualifiers: [@com.appg.config.properties.Config()]
> for injection into Field Injection Point, field name :  responseFile, Bean
> Owner : [MockNotifClient, Name:null, WebBeans Type:MANAGED, API
> Types:[com.appg.client.GClient,com.appg.client.HClient,com.appg.client.MockNotifClient,java.lang.Object],
> Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]
> 
> [ERROR   ] CWWKZ0002E: An exception occurred while starting the application
> . The exception message was:
> com.ibm.ws.container.service.state.StateChangeException:
> javax.enterprise.inject.UnsatisfiedResolutionException: Api type
> [java.lang.String] is not found with the qualifiers 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/ApplicationComposer-and-Deltaspike-1-0-tp4671240p4673920.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to