My Oracle Support Banner

J2EE Module Dependencies Classpath Not Set (Doc ID 1105218.1)

Last updated on MARCH 09, 2019

Applies to:

Oracle Workshop for Weblogic - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

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)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.