Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-2071

Microprofile Configuration Cannot Deserialise javax.time Types

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2018.5.0
    • Fix Version/s: 2.1.0.Final
    • Component/s: microprofile
    • Labels:
      None

      Description

      Using any javax.time type results in an injection error. The org.eclipse.microprofile.config.spi.Converter JavaDoc states this should be possible by default.

      StackTrace

      018-06-01 17:01:57,329 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."b20adaca-98cf-47dd-9229-01f9e9147109.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."b20adaca-98cf-47dd-9229-01f9e9147109.war".WeldStartService: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
      	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)
      Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Duration with qualifiers @ConfigProperty
        at injection point [BackedAnnotatedField] @Inject @ConfigProperty private sandbox.MyBean.myDuration
        at sandbox.MyBean.myDuration(MyBean.java:0)
        ...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kenfinni Ken Finnigan
                Reporter:
                dansiviter Daniel Siviter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: