Flex Builder – Please specify a context-root compiler argument.

I don’t remember ever having to do this, but all of a sudden I needed to:

add ‘-context-root /’ to the Properties->flex compiler ->additional compiler arguments

The error was:

The services configuration includes a channel-definition ‘java-secure-http’ that has an endpoint with a context.root token but a context root has not been defined. Please specify a context-root compiler argument.

One thought on “Flex Builder – Please specify a context-root compiler argument.”

  1. Thanks for the tip. I was just using Antennae to automate my build and came across this error when compiling in my services-config.xml file. Works like a charm now.

Leave a Reply

Your email address will not be published. Required fields are marked *