[ 
https://issues.apache.org/jira/browse/XMLBEANS-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258877#comment-14258877
 ] 

Daniel Bramblett commented on XMLBEANS-499:
-------------------------------------------

Download the binary jar then unzip (I simply changed the .jar extension to .zip 
and proceeded) it which will remove the duplicate .class files (8 in this case) 
then use the jar tool to recreate the .jar file. The command is: "jar cf 
(path)\xmlbeans-2.6.0.jar -C (unzipped folder path) ." Don't forget the period 
at the end of the command. Then I copied the new xmlbeans-2.6.0.jar into my lib 
directory and all is now well. Hope this helps someone else! :-)

> xmlbeans2.6.0.jar contians duplicate class files
> ------------------------------------------------
>
>                 Key: XMLBEANS-499
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-499
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.6
>            Reporter: Peter Klerehag
>
> The xlmbeans-2.6.0.jar contains some duplicate class files which in some 
> cases can generate problems with classloading.
> It is mainly under "/org/apache/xmlbeans/xml/stream/" but there is some other 
> locations as well
> Did following and there you clearly see 2x of ReferenceResolver 
>  unzip -l xmlbeans-2.6.0.jar | grep Resolver.class
>       394  2012-07-23 15:42   
> org/apache/xmlbeans/xml/stream/ReferenceResolver.class
>       394  2012-07-23 15:42   
> org/apache/xmlbeans/xml/stream/ReferenceResolver.class
>       214  2012-07-23 15:42   
> org/apache/xmlbeans/impl/common/PrefixResolver.class
>     45339  2012-07-23 15:42   
> org/apache/xmlbeans/impl/schema/StscComplexTypeResolver.class
>     11284  2012-07-23 15:42   
> org/apache/xmlbeans/impl/schema/StscResolver.class
>     26162  2012-07-23 15:42   
> org/apache/xmlbeans/impl/schema/StscSimpleTypeResolver.class
>      3524  2012-07-23 15:42   
> org/apache/xmlbeans/impl/tool/SchemaImportResolver.class
>      1069  2012-07-23 15:42   
> org/apache/xmlbeans/impl/store/Locale$DefaultEntityResolver.class



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: dev-h...@xmlbeans.apache.org

Reply via email to