Error "Package does not exist" During Compilation in JDeveloper

(Doc ID 1316638.1)

Last updated on SEPTEMBER 21, 2017

Applies to:

Oracle JDeveloper - Version: 11.1.1.1.0 to 11.1.1.4.0
Information in this document applies to any platform.

Symptoms


Consider a scenario in which you have a Model project and a ViewController Project. The Model Project contains a package with a Java class. The ViewController Project has a Java class that imports the class from the Model project.

In JDeveloper , when you compile such application from IDE or using the ojdeploy utility , the below compilation error may be encountered.

Error(5,22): package com.xx.xx.xx does not exist
Error(6,22): package com.xx.xx.xxx does not exist


Cause

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