Java error occurs while importing or editing packages in Software Catalog
search cancel

Java error occurs while importing or editing packages in Software Catalog


Article ID: 152893


Updated On:


IT Management Suite Software Management 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


"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).
  • NS 7.5 - Error was seen due to the NS having 2 versions of Java installed, until one of them was uninstalled. 
  • NS 7.5 - Clearing IE Cache and all browsing data cleared up this issue for a client, where the Detailed Error message was pointing to the wrong NS.


Applies To


Management Platform 7.0 SP5

Software Management Solution 7.0 SP2 MR2 and MR3

With Swedish language