You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2009/05/25 14:57:45 UTC

[jira] Commented: (XBEAN-126) ClassFinder throwing "Could not load exceptions" on "classes" whose path includes a '.'

    [ https://issues.apache.org/jira/browse/XBEAN-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712712#action_12712712 ] 

David Jencks commented on XBEAN-126:
------------------------------------

a directory with a "." in it does not contain a class, so I would like to consider just catching and ignoring the exception rather than doing extra string manipulation.

> ClassFinder throwing "Could not load exceptions" on "classes" whose path includes a '.'
> ---------------------------------------------------------------------------------------
>
>                 Key: XBEAN-126
>                 URL: https://issues.apache.org/jira/browse/XBEAN-126
>             Project: XBean
>          Issue Type: Bug
>          Components: finder
>            Reporter: Kevan Miller
>            Assignee: Shawn Jiang
>             Fix For: 3.6
>
>         Attachments: xbean-126.patch
>
>
> Deployment of an opensso.war file is failing in Geronimo with the following:
> java.lang.Exception: Could not load 1/0/org/apache/xml/resolver/tools/ResolvingXMLReader.class
>         at org.apache.xbean.finder.ClassFinder.readClassDef(ClassFinder.java:726)
>         at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:141)
>         at org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:154)
> webservices-tools.jar contains multiple files of the following form:
>   -rw-r--r--       287  28-Mar-2005  12:20:36  1.0/com/sun/codemodel/CodeWriter.class
>   -rw-r--r--       931  28-Mar-2005  12:20:38  1.0/com/sun/codemodel/JAnonymousClass.class
>   -rw-r--r--      1939  28-Mar-2005  12:20:38  1.0/com/sun/codemodel/JArray.class
>   -rw-r--r--       691  28-Mar-2005  12:20:38  1.0/com/sun/codemodel/JArrayClass$1.class
>   -rw-r--r--      2365  28-Mar-2005  12:20:38  1.0/com/sun/codemodel/JArrayClass.class
> '1.0' is being converted to '1/0' and the subsequent load is failing.

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