We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Cannot create mpp file

Hi,
we are unable to create mpp project, due to following exception:

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.aspose.tasks.private_.Collections.Comparer
at com.aspose.tasks.private_.ms.System.af$a.c(Unknown Source)
at com.aspose.tasks.private_.ms.System.af$a.a(Unknown Source)
at com.aspose.tasks.private_.ms.System.af$a.b(Unknown Source)
at com.aspose.tasks.private_.ms.System.af.a(Unknown Source)
at com.aspose.tasks.private_.ms.System.af.toString(Unknown Source)
at com.aspose.tasks.BuiltInProjectProperty.(Unknown Source)
at com.aspose.tasks.BuiltInProjectPropertyCollection.a(Unknown Source)
at com.aspose.tasks.BuiltInProjectPropertyCollection.e(Unknown Source)
at com.aspose.tasks.BuiltInProjectPropertyCollection.(Unknown Source)
at com.aspose.tasks.Project.(Unknown Source)
at com.aspose.tasks.Project.(Unknown Source)
at com.aspose.tasks.Project.(Unknown Source)
at com.aspose.tasks.Project.(Unknown Source)
at com.aspose.tasks.Project.(Unknown Source)

We do not have direct access to serwer on which app was executed so we are unable to debug by ourselves. Our aspose tasks version is 22.10-jdk18. I suppose that there is a problem with some environment related settings. What should we check to find faulty setting?

Best regards
Marcin Haręza from Softwareplant

@SoftwarePlant Hi, сould you determine which locale is set on the server ( Locale.getDefault() )? Also could you try Aspose.Tasks for Java 23.1?