Tuesday, November 22, 2011

Build Error: Reference does not exist as wire target

Error:
While building the composite application, you may experience following error and this is a very common error.

Reference XXXXX does not exist as wire target


Solution: 
1. Open the composite.xml file and check the wire mappings
2. Open each .ComponetType file and verify service and reference names with composite.xml file mappings
3. find the unused mappings and remove from .ComponentType file
4. Rebuild the code and it should work.

4 comments:

  1. i hv checked it but showing the same error(Reference DBAdapter) does not exist as wire target

    ReplyDelete
  2. Hello Santo! I have the same error, but i can't find some referente for the adapter (xxxx reference)...
    It works only if I comment the reference in the composite.xml, but in this case, remove the adapter from the aplication.
    The most interesting is that i can compile this project in my machine.. the error ocurrs in other machine.

    ReplyDelete
  3. Thanks. It was helpful

    ReplyDelete