Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-320

NoSuchMethodError: com.fasterxml.jackson.databind.SerializationConfig.withDefaultPrettyPrinter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 1.3.0.Beta5
    • 1.3.0.Beta4
    • jberet-support
    • None

      2017-03-13 10:34:25,426 INFO [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0010: Deployed "xml2json.war" (runtime-name : "xml2json.war")
      2017-03-13 10:34:44,775 ERROR [org.jberet] (Batch Thread - 1) item-count=10, time-limit=0, skip-limit=-1, skipCount=0, retry-limit=-1, retryCount=0
      2017-03-13 10:34:44,776 ERROR [org.jberet] (Batch Thread - 1) JBERET000007: Failed to run job xml2json, xml2json.step1, org.jberet.job.model.Chunk@39375b3d: java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.SerializationConfig.withDefaultPrettyPrinter(Lcom/fasterxml/jackson/core/PrettyPrinter;)Lcom/fasterxml/jackson/databind/SerializationConfig;
      at com.fasterxml.jackson.dataformat.xml.XmlMapper.<init>(XmlMapper.java:86)
      at com.fasterxml.jackson.dataformat.xml.XmlMapper.<init>(XmlMapper.java:67)
      at org.jberet.support.io.XmlItemReaderWriterBase.initXmlFactory(XmlItemReaderWriterBase.java:79)
      at org.jberet.support.io.XmlItemReader.open(XmlItemReader.java:107)
      at org.jberet.runtime.runner.ChunkRunner.run(ChunkRunner.java:190)
      at org.jberet.runtime.runner.StepExecutionRunner.runBatchletOrChunk(StepExecutionRunner.java:219)
      at org.jberet.runtime.runner.StepExecutionRunner.run(StepExecutionRunner.java:140)
      at org.jberet.runtime.runner.CompositeExecutionRunner.runStep(CompositeExecutionRunner.java:164)
      at org.jberet.runtime.runner.CompositeExecutionRunner.runFromHeadOrRestartPoint(CompositeExecutionRunner.java:88)
      at org.jberet.runtime.runner.JobExecutionRunner.run(JobExecutionRunner.java:59)
      at org.wildfly.extension.batch.jberet.impl.BatchEnvironmentService$WildFlyBatchEnvironment$1.run(BatchEnvironmentService.java:243)
      at org.wildfly.extension.requestcontroller.RequestController$QueuedTask$1.run(RequestController.java:497)
      at org.jberet.spi.JobExecutor$3.run(JobExecutor.java:161)
      at org.jberet.spi.JobExecutor$1.run(JobExecutor.java:99)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      at org.jboss.threads.JBossThread.run(JBossThread.java:320)

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: