[
https://issues.apache.org/jira/browse/GERONIMO-4381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644211#action_12644211
]
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: https://issues.apache.org/jira/browse/GERONIMO-4381
> 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.