Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1117

Exception message when binding a service interface (and service implementation not found) is confusing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.3
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      Caused by: java.lang.RuntimeException: No service implements the interface collective.t5.services.asset.AssetVersionHistory. Please provide the implementation collective.t5.services.asset.AssetVersionHistoryImpl or bind the service interface to a service implementation.

      That "no service" part is confusing, how about:

      Unable to bind service collective.t5.services.asset.AssetVersionHistory because no implementation class could be found. Please create implementation class collective.t5.services.asset.AssetVersionHistoryImpl, or specify the actual implementation class in the call to ServiceBinder.bind().

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: