Java error occurs while importing or editing packages in Software Catalog

Article:TECH143667  |  Created: 2010-11-08  |  Updated: 2012-04-16  |  Article URL
Article Type
Technical Solution


Getting the following error when attempting to import or edit a package in Software Catalog.


Initial error in Add or Edit Package dialog window: 

Error. Click here for Details.

After enabling the Java Console:

load: class PackageDefinition.class not found.
java.lang.ClassNotFoundException: PackageDefinition.class
                at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
                at java.lang.ClassLoader.loadClass(Unknown Source)
                at java.lang.ClassLoader.loadClass(Unknown Source)
                at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
                at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
                at sun.plugin2.applet.Plugin2Manager$ Source)
                at Source)
Caused by: open http://localhost/altiris/SoftwareManagement/Dialogs/PackageDefinition/class.class
                at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
                at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
                at sun.plugin2.applet.Applet2ClassLoader$ Source)
                at Method)
                ... 7 more
Exception: java.lang.ClassNotFoundException: PackageDefinition.class


Management Platform 7.0 SP5

Software Management Solution 7.0 SP2 MR2 and MR3

With Swedish language


"PackageDefinition.jar" is missing from its directory.

By default, this file needs to be available under the following directory.

C:\Program Files\Altiris\SoftwareManagement\Web\Dialogs.

NOTE: the drive varies depending upon where Management Platform is installed.


If the file is missing, simply copy the file from another Management Platform and put in the directory as stated above.

Other possible solutions for a similar issue are:

  • To upgrade to Java version 6 update 22. Uninstalling Java, rebooting, and reinstalling may also be required in some cases.
  • To enable "Bypass proxy server for local addresses" (per TECH47522).


Article URL

Terms of use for this information are found in Legal Notices