Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Duplicate class definition in Birt runtime 4.2
Duplicate class definition in Birt runtime 4.2 [message #899412] Tue, 31 July 2012 17:53 Go to next message
donino donino is currently offline donino doninoFriend
Messages: 183
Registered: July 2011
Senior Member
Hi,

By trying to optimize my application code with ProGuard, i found the Birt runtime 4.2 has duplicate definitions of classes. I'm not sure if it may be pretty bad or not for some application servers, and if it should be logged as a bug or not?

Reading library directory [C:\as\Tomcat7\apache-tomcat-7.0.23\webapps\birt\WEB-INF\lib]
Note: duplicate definition of library class [javax.xml.XMLConstants]
Note: duplicate definition of library class [javax.xml.namespace.NamespaceContext]
Note: duplicate definition of library class [javax.xml.namespace.QName]
Note: duplicate definition of library class [javax.xml.stream.EventFilter]
Note: duplicate definition of library class [javax.xml.stream.FactoryConfigurationError]
Note: duplicate definition of library class [javax.xml.stream.FactoryFinder]
Note: duplicate definition of library class [javax.xml.stream.Location]
Note: duplicate definition of library class [javax.xml.stream.StreamFilter]
Note: duplicate definition of library class [javax.xml.stream.XMLEventFactory]
Note: duplicate definition of library class [javax.xml.stream.XMLEventReader]
Note: duplicate definition of library class [javax.xml.stream.XMLEventWriter]
Note: duplicate definition of library class [javax.xml.stream.XMLInputFactory]
Note: duplicate definition of library class [javax.xml.stream.XMLOutputFactory]
Note: duplicate definition of library class [javax.xml.stream.XMLReporter]
Note: duplicate definition of library class [javax.xml.stream.XMLResolver]
Note: duplicate definition of library class [javax.xml.stream.XMLStreamConstants]
Note: duplicate definition of library class [javax.xml.stream.XMLStreamException]
Note: duplicate definition of library class [javax.xml.stream.XMLStreamReader]
Note: duplicate definition of library class [javax.xml.stream.XMLStreamWriter]
Note: duplicate definition of library class [javax.xml.stream.events.Attribute]
Note: duplicate definition of library class [javax.xml.stream.events.Characters]
Note: duplicate definition of library class [javax.xml.stream.events.Comment]
Note: duplicate definition of library class [javax.xml.stream.events.DTD]
Note: duplicate definition of library class [javax.xml.stream.events.EndDocument]
Note: duplicate definition of library class [javax.xml.stream.events.EndElement]
Note: duplicate definition of library class [javax.xml.stream.events.EntityDeclaration]
Note: duplicate definition of library class [javax.xml.stream.events.EntityReference]
Note: duplicate definition of library class [javax.xml.stream.events.Namespace]
Note: duplicate definition of library class [javax.xml.stream.events.NotationDeclaration]
Note: duplicate definition of library class [javax.xml.stream.events.ProcessingInstruction]
Note: duplicate definition of library class [javax.xml.stream.events.StartDocument]
Note: duplicate definition of library class [javax.xml.stream.events.StartElement]
Note: duplicate definition of library class [javax.xml.stream.events.XMLEvent]
Note: duplicate definition of library class [javax.xml.stream.util.EventReaderDelegate]
Note: duplicate definition of library class [javax.xml.stream.util.StreamReaderDelegate]
Note: duplicate definition of library class [javax.xml.stream.util.XMLEventAllocator]
Note: duplicate definition of library class [javax.xml.stream.util.XMLEventConsumer]
Note: duplicate definition of library class [javax.xml.namespace.QName]
Note: duplicate definition of library class [org.apache.commons.logging.Log]
Note: duplicate definition of library class [org.apache.commons.logging.LogConfigurationException]
Note: duplicate definition of library class [org.apache.commons.logging.LogFactory$1]
Note: duplicate definition of library class [org.apache.commons.logging.LogFactory$2]
Note: duplicate definition of library class [org.apache.commons.logging.LogFactory$3]
Note: duplicate definition of library class [org.apache.commons.logging.LogFactory]
Note: duplicate definition of library class [org.apache.commons.logging.LogSource]
Note: duplicate definition of library class [org.apache.commons.logging.impl.Jdk14Logger]
Note: duplicate definition of library class [org.apache.commons.logging.impl.Log4JCategoryLog]
Note: duplicate definition of library class [org.apache.commons.logging.impl.Log4JLogger]
Note: duplicate definition of library class [org.apache.commons.logging.impl.Log4jFactory]
Note: duplicate definition of library class [org.apache.commons.logging.impl.LogFactoryImpl$1]
Note: duplicate definition of library class [org.apache.commons.logging.impl.LogFactoryImpl]
Note: duplicate definition of library class [org.apache.commons.logging.impl.LogKitLogger]
Note: duplicate definition of library class [org.apache.commons.logging.impl.NoOpLog]
Note: duplicate definition of library class [org.apache.commons.logging.impl.SimpleLog$1]
Note: duplicate definition of library class [org.apache.commons.logging.impl.SimpleLog]
Note: duplicate definition of library class [org.w3c.dom.html.HTMLDOMImplementation]
Note: duplicate definition of library class [org.w3c.dom.DOMConfiguration]
Note: duplicate definition of library class [org.w3c.dom.DOMStringList]
Note: duplicate definition of library class [org.w3c.dom.TypeInfo]
Note: duplicate definition of library class [org.w3c.dom.UserDataHandler]
Note: duplicate definition of library class [org.osgi.service.log.LogEntry]
Note: duplicate definition of library class [org.osgi.service.log.LogListener]
Note: duplicate definition of library class [org.osgi.service.log.LogReaderService]
Note: duplicate definition of library class [org.osgi.service.log.LogService]
Note: duplicate definition of library class [javax.xml.soap.AttachmentPart]
Note: duplicate definition of library class [javax.xml.soap.Detail]
Note: duplicate definition of library class [javax.xml.soap.DetailEntry]
Note: duplicate definition of library class [javax.xml.soap.FactoryFinder]
Note: duplicate definition of library class [javax.xml.soap.MessageFactory]
Note: duplicate definition of library class [javax.xml.soap.MimeHeader]
Note: duplicate definition of library class [javax.xml.soap.MimeHeaders$MatchingIterator]
Note: duplicate definition of library class [javax.xml.soap.MimeHeaders]
Note: duplicate definition of library class [javax.xml.soap.Name]
Note: duplicate definition of library class [javax.xml.soap.Node]
Note: duplicate definition of library class [javax.xml.soap.SOAPBody]
Note: duplicate definition of library class [javax.xml.soap.SOAPBodyElement]
Note: duplicate definition of library class [javax.xml.soap.SOAPConnection]
Note: duplicate definition of library class [javax.xml.soap.SOAPConnectionFactory]
Note: duplicate definition of library class [javax.xml.soap.SOAPConstants]
Note: duplicate definition of library class [javax.xml.soap.SOAPElement]
Note: duplicate definition of library class [javax.xml.soap.SOAPElementFactory]
Note: duplicate definition of library class [javax.xml.soap.SOAPEnvelope]
Note: duplicate definition of library class [javax.xml.soap.SOAPException]
Note: duplicate definition of library class [javax.xml.soap.SOAPFactory]
Note: duplicate definition of library class [javax.xml.soap.SOAPFault]
Note: duplicate definition of library class [javax.xml.soap.SOAPFaultElement]
Note: duplicate definition of library class [javax.xml.soap.SOAPHeader]
Note: duplicate definition of library class [javax.xml.soap.SOAPHeaderElement]
Note: duplicate definition of library class [javax.xml.soap.SOAPMessage]
Note: duplicate definition of library class [javax.xml.soap.SOAPPart]
Note: duplicate definition of library class [javax.xml.soap.Text]
Note: there were 91 duplicate class definitions.
Re: Duplicate class definition in Birt runtime 4.2 [message #1837889 is a reply to message #899412] Tue, 09 February 2021 15:35 Go to previous message
michael Schindler is currently offline michael SchindlerFriend
Messages: 1
Registered: February 2021
Junior Member
bug is still here, and meanwhile hinders compilation using maven/tycho based project.

import is caused by rather old libraries used -
org.apache.xerxes dated jan 2011 (10 years old) and
javax.xml.stream dated april 2009 (also 10 years old)
would be time to upgrade the dependencies und accept that some xml stuff is now inside JRE.
Previous Topic:Showing data from a shift that covers two days
Next Topic:genReport.bat event handler class not found
Goto Forum:
  


Current Time: Thu Oct 21 06:41:42 GMT 2021

Powered by FUDForum. Page generated in 0.01584 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top