geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Commented: (GERONIMO-4381) Better error message for trying to inject String arrays
Date Fri, 31 Oct 2008 04:52:44 GMT


Jarek Gawor commented on GERONIMO-4381:

What Geronimo version are you using? Did you add a resource-ref-entry in the DD for this resource?
If so, can you paste/attach it? I'm unable to reproduce this problem unless the resource-ref-entry
entry is added (with a wrong class name) to the DD by hand.

> Better error message for trying to inject String arrays
> -------------------------------------------------------
>                 Key: GERONIMO-4381
>                 URL:
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: dependencies
>            Reporter: J├╝rgen Weber
>            Priority: Minor
> I erroneously tried to inject a String array
> @Resource
> 	private String[] ...
> There should be a better error message for this than
> could not load class [Ljava.lang.String;
> org.apache.geronimo.common.DeploymentException: could not load class [Ljava.lang.String;

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message