pfumagalli / couldit-autoexport

Automatically exported from code.google.com/p/couldit-autoexport
Other
0 stars 1 forks source link

Confluence 3.0 java.lang.LinkageError #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install autoexport-plugin-1.0.0.beta1.jar into Confluence 3.0.0_01 -> OK 
2. Export a space 
[Wed Jun 17 08:03:00 MEST 2009] Exporting: Starting export task for the
following spaces:
[Wed Jun 17 08:03:01 MEST 2009] Exporting:  - Demonstration Space [key=ds]
[Wed Jun 17 08:03:01 MEST 2009] *** EXCEPTION *** java.lang.LinkageError:
loader constraint violation: when resolving method
"org.cyberneko.html.parsers.SAXParser.parse(Lorg/xml/sax/InputSource;)V"
the class loader (instance of
org/apache/felix/framework/searchpolicy/ContentClassLoader) of the current
class, it/could/confluence/autoexport/engine/ExportBeautifier, and the
class loader (instance of org/apache/catalina/loader/WebappClassLoader) for
resolved class, org/cyberneko/html/parsers/SAXParser, have different Class
objects for the type org/xml/sax/InputSource used in the signature
[Wed Jun 17 08:03:01 MEST 2009] Exporting: Finished

There seems to be some kind of mismatch with the XML-parser classes. I was
able to work around by removing xercesImpl-2.8.1.jar and
xml-apis-1.3.03.jar from META-INF/lib. Not sure if this breaks something else.

Regards
Tom

Original issue reported on code.google.com by tlohschm...@googlemail.com on 17 Jun 2009 at 6:06

GoogleCodeExporter commented 9 years ago
Removing the jars did solve the problem for me too. I haven't seen any unwanted 
side
effects of this action so far.

Original comment by Igor.Mi...@gmail.com on 11 Aug 2009 at 5:33

GoogleCodeExporter commented 9 years ago
Fixed by adding the appropriate exclusions in the pom (same basic fix)  Thanks.

Original comment by donald.b...@gmail.com on 7 Nov 2009 at 6:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Donald, could you please explain what you did in the pom ?

I still got this problem when I try to export something :
[Wed Oct 06 13:04:31 CEST 2010] Exporting: Starting export task for the 
following spaces:
[Wed Oct 06 13:04:32 CEST 2010] Exporting:  - Tests [key=TE]
[Wed Oct 06 13:04:32 CEST 2010] *** EXCEPTION *** java.lang.LinkageError: 
loader constraint violation: when resolving method 
"org.cyberneko.html.parsers.SAXParser.parse(Lorg/xml/sax/InputSource;)V" the 
class loader (instance of 
org/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current class, 
it/could/confluence/autoexport/engine/ExportBeautifier, and the class loader 
(instance of org/apache/catalina/loader/WebappClassLoader) for resolved class, 
org/cyberneko/html/parsers/SAXParser, have different Class objects for the type 
org/xml/sax/InputSource used in the signature
[Wed Oct 06 13:04:32 CEST 2010] Exporting: Finished

I try to remove the jars as Igor and Tom say but I still got the problem... may 
be a conflict with another plugin ?

I'm not really confident to change the pom file without make a mistake.
Any help/clue will be greatly appreciated :)

Thank you
/Erwan

confluence 3.3
autoexport 1.0.0 beta

Original comment by e.bensou...@gmail.com on 6 Oct 2010 at 11:11