CXF javac error

Recently, I received the following error while using CXF with Mule:

IOException during exec() of compiler "javac". Check your path environment variable.

Wasn't completely obvious at first and Google searches weren't immediately helpful.  Finally, discovered that javac was not in the PATH environment variable (Windows).  Placed the Java bin directory in the PATH environment variable, and all was good again.


Other errors along with it:

Failed to connect/reconnect: endpoint.outbound.http:// ....
 java.lang.IllegalStateException: Unable to create JAXBContext for generated packages: "my.namespace" doesnt contain ObjectFactory.class or jaxb.index
Unable to create JAXBContext for generated packages

Comments

Popular Posts