BLasan commented on pull request #1597: URL: https://github.com/apache/fineract/pull/1597#issuecomment-781466422
> I have listed all the 31 classpath duplicates below > > ## javax/activation/ActivationDataFlavor.class > javax/activation/CommandInfo$Beans$1.class > javax/activation/CommandInfo$Beans.class > javax/activation/CommandInfo.class > javax/activation/CommandMap.class > javax/activation/CommandObject.class > javax/activation/DataContentHandler.class > javax/activation/DataContentHandlerFactory.class > javax/activation/DataHandler$1.class > javax/activation/DataHandler.class > javax/activation/DataHandlerDataSource.class > javax/activation/DataSource.class > javax/activation/DataSourceDataContentHandler.class > javax/activation/FileDataSource.class > javax/activation/FileTypeMap.class > javax/activation/MailcapCommandMap$1.class > javax/activation/MailcapCommandMap.class > javax/activation/MimeType.class > javax/activation/MimeTypeParameterList.class > javax/activation/MimeTypeParseException.class > javax/activation/MimetypesFileTypeMap$1.class > javax/activation/MimetypesFileTypeMap.class > javax/activation/ObjectDataContentHandler.class > javax/activation/SecuritySupport$1.class > javax/activation/SecuritySupport$2.class > javax/activation/SecuritySupport$3.class > javax/activation/SecuritySupport$4.class > javax/activation/SecuritySupport$5.class > javax/activation/SecuritySupport.class > javax/activation/UnsupportedDataTypeException.class > javax/activation/URLDataSource.class > > but also looking around the web i see someone comment that " You need the implementation jar file, not the API jar file. Use this." a discussion at https://stackoverflow.com/questions/58029104/cant-send-email-using-javamail-and-jdk-12 > and they are suggesting to use this https://search.maven.org/artifact/com.sun.activation/javax.activation/1.2.0/jar > > How can i avoid the activation for me the easiest would be to add it in the exclusion if these classes are being used somewhere before this line. > > because it will be hard for me to find where these classes are being used before this point Yuh, that sounds good for me. If we can exclude installing javax-api or jakarta-api from javax.mail, I think we avoid having this issue. @vorburger @ptuomola Any suggestions on this? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
