When I do export .one file with multiple pages - all pages in the export are the same

There are my files to reproduce

This is a result of export to HTML
exported.zip (618.9 KB)

This is .one file
original.zip (928.2 KB)


Thanks for the sample document and output HTML files.

Please use a valid license to set it in the code (at the start) before loading the OneNote file to render to HTML via Aspose.Note for Java API. I tested your scenario/case using the following sample code with your OneNote file and it works fine:
Sample code:

com.aspose.note.License lic1 = new com.aspose.note.License();

com.aspose.note.Document oneNoteDoc = new com.aspose.note.Document("f:\\files\\Untitled Section.one");
com.aspose.note.HtmlSaveOptions options = new com.aspose.note.HtmlSaveOptions();
oneNoteDoc.save("f:\\files\\UntitledSection_Page_1.html", options);

oneNoteDoc.save("f:\\files\\UntitledSection_Page_2.html", options);

Please find attached the output HTML files in the zipped archive for your reference.
files1.zip (753.8 KB)

If you still find any issue, kindly share your sample code (runnable) to reproduce the issue, we will check it soon.