Discussion:
[jira] [Created] (FOP-2815) Update Dependencies
(too old to reply)
Nathan Williams (JIRA)
2018-09-14 08:40:00 UTC
Permalink
Nathan Williams created FOP-2815:
------------------------------------

Summary: 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


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)
Nathan Williams (JIRA)
2018-09-14 08:43:00 UTC
Permalink
[ 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)
Post by Nathan Williams (JIRA)
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)
Nathan Williams (JIRA)
2018-09-14 09:18:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Williams updated FOP-2815:
---------------------------------
Description:
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. Issue

org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
h2. Maven dependencies

{{(when used in this order, putting fop first uses older logging 1.0.4)}}

<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

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]

was:
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]
Post by Nathan Williams (JIRA)
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. Issue
org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
h2. Maven dependencies
{{(when used in this order, putting fop first uses older logging 1.0.4)}}
<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
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)
simon steiner (JIRA)
2018-09-21 12:33:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

simon steiner updated FOP-2815:
-------------------------------
Description:
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. Issue

org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.

https://docs.spring.io/spring/docs/current/javadoc-api/org/apache/commons/logging/impl/SimpleLog.html
h2. Maven dependencies

{{(when used in this order, putting fop first uses older logging 1.0.4)}}

<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

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]

was:
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. Issue

org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
h2. Maven dependencies

{{(when used in this order, putting fop first uses older logging 1.0.4)}}

<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

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]
Post by Nathan Williams (JIRA)
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. Issue
org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
https://docs.spring.io/spring/docs/current/javadoc-api/org/apache/commons/logging/impl/SimpleLog.html
h2. Maven dependencies
{{(when used in this order, putting fop first uses older logging 1.0.4)}}
<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
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)
ASF GitHub Bot (JIRA)
2018-10-27 06:34:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665959#comment-16665959 ]

ASF GitHub Bot commented on FOP-2815:
-------------------------------------

GitHub user spiritualops opened a pull request:

https://github.com/apache/fop/pull/13

[FOP-2815] Replace SimpleLog with LogFactory

References https://issues.apache.org/jira/browse/FOP-2815.

* Replaces deprecated SimpleLog with LogFactory. The LogFactory gets set when the logger is null. The logging level is also set to INFO (value: 800).
* Bumped the parent pom to 2.4.1-SNAPSHOT.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/spiritualops/fop FOP-2815

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/fop/pull/13.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #13

----
commit 0ddcd5eadf862ff08f9503365f1a668a6f211be5
Author: spiritualops <***@...>
Date: 2018-10-27T06:26:48Z

Bump pom to 2.4.1-SNAPSHOT, replace SimpleLog with LogFactory

----
Post by Nathan Williams (JIRA)
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. Issue
org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
https://docs.spring.io/spring/docs/current/javadoc-api/org/apache/commons/logging/impl/SimpleLog.html
h2. Maven dependencies
{{(when used in this order, putting fop first uses older logging 1.0.4)}}
<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
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)
Brian Thompson (JIRA)
2018-10-27 06:36:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16665961#comment-16665961 ]

Brian Thompson commented on FOP-2815:
-------------------------------------

Opened a PR to address this issue.
Post by Nathan Williams (JIRA)
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. Issue
org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
https://docs.spring.io/spring/docs/current/javadoc-api/org/apache/commons/logging/impl/SimpleLog.html
h2. Maven dependencies
{{(when used in this order, putting fop first uses older logging 1.0.4)}}
<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
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)
ASF GitHub Bot (JIRA)
2018-10-27 19:23:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666201#comment-16666201 ]

ASF GitHub Bot commented on FOP-2815:
-------------------------------------

Github user spiritualops closed the pull request at:

https://github.com/apache/fop/pull/13
Post by Nathan Williams (JIRA)
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. Issue
org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
https://docs.spring.io/spring/docs/current/javadoc-api/org/apache/commons/logging/impl/SimpleLog.html
h2. Maven dependencies
{{(when used in this order, putting fop first uses older logging 1.0.4)}}
<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
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)
Antoniy Chonkov (JIRA)
2018-11-02 17:24:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16673448#comment-16673448 ]

Antoniy Chonkov commented on FOP-2815:
--------------------------------------

Hello. We've hit the same issue, using Spring Boot 2.1.0 and FOP. Is there some estimate in what time window we could look for a update version that's halding this issue?
Post by Nathan Williams (JIRA)
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. Issue
org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
https://docs.spring.io/spring/docs/current/javadoc-api/org/apache/commons/logging/impl/SimpleLog.html
h2. Maven dependencies
{{(when used in this order, putting fop first uses older logging 1.0.4)}}
<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
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)
simon steiner (JIRA)
2018-11-05 14:09:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

simon steiner updated FOP-2815:
-------------------------------
Summary: spring-jcl (was: Update Dependencies)
Post by Nathan Williams (JIRA)
spring-jcl
----------
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. Issue
org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
https://docs.spring.io/spring/docs/current/javadoc-api/org/apache/commons/logging/impl/SimpleLog.html
h2. Maven dependencies
{{(when used in this order, putting fop first uses older logging 1.0.4)}}
<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
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)
simon steiner (JIRA)
2018-11-05 14:09:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

simon steiner resolved FOP-2815.
--------------------------------
Resolution: Fixed
Assignee: simon steiner

http://svn.apache.org/viewvc?view=revision&revision=1845792
spring-jcl logging exception
----------------------------
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
Assignee: simon steiner
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. Issue
org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
https://docs.spring.io/spring/docs/current/javadoc-api/org/apache/commons/logging/impl/SimpleLog.html
h2. Maven dependencies
{{(when used in this order, putting fop first uses older logging 1.0.4)}}
<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
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)
simon steiner (JIRA)
2018-11-05 14:09:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/FOP-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

simon steiner updated FOP-2815:
-------------------------------
Summary: spring-jcl logging exception (was: spring-jcl)
spring-jcl logging exception
----------------------------
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. Issue
org.apache.commons.logging.impl.SimpleLog is deprecated and equivalent to NoOpLog in spring-jcl. Use a standard LogFactory.getLog(Class/String) call instead.
https://docs.spring.io/spring/docs/current/javadoc-api/org/apache/commons/logging/impl/SimpleLog.html
h2. Maven dependencies
{{(when used in this order, putting fop first uses older logging 1.0.4)}}
<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
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)

Loading...