J2EE Module Dependencies Classpath Not Set

(Doc ID 1105218.1)

Last updated on FEBRUARY 01, 2015

Applies to:

Oracle Workshop for Weblogic - Version: 10.3 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.


When trying to build a project using Ant which contains 3 utility projects with dependency on one other,( example: Project Util3 depends on Project Util2 and Project Util2 depends on Project Util1) from "ant" script gives the below compile error

Compile failed; see the compiler error output for details.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at com.bea.workshop.cmdline.antlib.AntExTask.execute(AntExTask.java:408)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)

Its unable to find the Util1 project.Therefore, the project does not compile as it does not find the other project in the classpath (set through J2EE Module dependencies)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms