17 March, 2015

Error with a JDeveloper Project - output files couldn't be created

There is an issue regarding the project building with JDeveloper, doesn't matter the techonology you are using (Java, SCA).
If you are facing an error like below:

[scac]  error: C:\git\bpels\MyProject\classes\scac_out.xml (The system can not find the path specified)
     [scac] ====> Faulted
     [scac] java.io.FileNotFoundException: C:\git\bpels\MyProject\classes\scac.log (The system can not find the path specified)
     [scac] at java.io.FileOutputStream.open(Native Method)
     [scac] at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
     [scac] at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
     [scac] at org.apache.tools.ant.util.LazyFileOutputStream.ensureOpened(LazyFileOutputStream.java:158)

Here is the solution:

You only need to recreate the folder "classes" under the "MyProject" structure.
Then, try to build your project again.