My Oracle Support Banner

Error "Package does not exist" During Compilation in JDeveloper (Doc ID 1316638.1)

Last updated on FEBRUARY 25, 2021

Applies to:

Oracle JDeveloper - Version to [Release Oracle11g]
Information in this document applies to any platform.


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 does not exist




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

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