[ 
https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nathan Williams updated FOP-2815:
---------------------------------
    Labels: compatibility easyfix maven performance security  (was: easyfix 
maven performance security)

> Update Dependencies
> -------------------
>
>                 Key: FOP-2815
>                 URL: https://issues.apache.org/jira/browse/FOP-2815
>             Project: FOP
>          Issue Type: Improvement
>    Affects Versions: 2.3
>         Environment: Java 1.8 
> maven 3.5.4
>            Reporter: Nathan Williams
>            Priority: Major
>              Labels: compatibility, easyfix, maven, performance, security
>
> h1. Update Dependencies
> For compatibility with other libraries the dependencies could do with 
> updating and moving to non deprecated methods.
>  
> I came across the issue below with the logger library when using the 
> dependencies below.
> h2. Maven dependenices
> <dependency>
>   <groupId>org.springframework.boot</groupId>
>   <artifactId>spring-boot-starter-websocket</artifactId>
>   <version>2.05</version>
> </dependency>
> <dependency>
>   <groupId>org.apache.xmlgraphics</groupId>
>   <artifactId>batik-transcoder</artifactId>
>   <version>1.10</version>
> </dependency>
> <dependency>
>   <groupId>org.apache.xmlgraphics</groupId>
>   <artifactId>fop</artifactId>
>   <version>2.3</version>
> </dependency>
> h2. Stack Trace
> org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to 
> NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call 
> instead.
> java.lang.NoSuchMethodError: 
> org.apache.commons.logging.impl.SimpleLog.setLevel(I)V
>  at 
> org.apache.fop.svg.AbstractFOPTranscoder.getLogger(AbstractFOPTranscoder.java:180)
>  ~[fop-2.3.jar:na]
>  at org.apache.fop.svg.PDFTranscoder.transcode(PDFTranscoder.java:143) 
> ~[fop-2.3.jar:na]
>  at 
> org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstractTranscoder.java:142)
>  ~[batik-transcoder-1.10.jar:na]
>  at 
> org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstractTranscoder.java:156)
>  ~[batik-transcoder-1.10.jar:na]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to